-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
91 lines (78 loc) · 1.74 KB
/
nuxt.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
/**
* @file Nuxt config
* @see {@link https://nuxt.com/docs/api/configuration/nuxt-config}
*/
export default defineNuxtConfig({
modules: ['@vueuse/nuxt', '@unocss/nuxt', '@nuxt/content', '@vite-pwa/nuxt', '@nuxt/image'],
css: ['@unocss/reset/tailwind.css', '~/styles/vars.css', '~/styles/index.css'],
imports: {
dirs: [
'./composables',
//
'./composables/state',
'./utils',
],
},
components: {
dirs: ['./components/home'],
},
app: {
head: {
title: 'ntnyq',
meta: [
{ name: 'keywords', content: 'ntnyq' },
{ name: 'description', content: 'ntnyq' },
],
viewport: 'width=device-width, initial-scale=1, viewport-fit=cover',
},
},
devtools: {
enabled: true,
},
pwa: {
registerType: 'autoUpdate',
manifest: {
orientation: 'landscape-primary',
icons: [
{
src: '/icons/icon-196x196.png',
sizes: '196x196',
type: 'image/png',
},
{
src: '/icons/icon-196x196.png',
sizes: '196x196',
type: 'image/png',
},
{
src: '/icons/icon-512x512.png',
sizes: '512x512',
type: 'image/png',
purpose: 'any maskable',
},
],
theme_color: '#000000',
},
workbox: {
globPatterns: ['**/*.{css,js,html,svg,png,ico,txt,woff2}'],
runtimeCaching: [],
},
},
// Disable SSR when building
ssr: false,
plugins: [],
vite: {},
vue: {},
/**
* @see {@link https://content.nuxt.com/get-started/configuration}
*/
content: {
highlight: {
theme: {
default: 'vitesse-light',
dark: 'vitesse-dark',
},
},
},
compatibilityDate: '2024-07-25',
})