-
Notifications
You must be signed in to change notification settings - Fork 2
/
nuxt.config.ts
77 lines (77 loc) · 1.92 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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: true },
modules: [
"@nuxtjs/color-mode",
"@nuxtjs/tailwindcss",
"@pinia/nuxt",
"@vueuse/nuxt",
"nuxt-primevue",
"nuxt-vuefire"
],
css: [
'primeicons/primeicons.css',
'~/assets/css/common.css',
],
app: {
// overriden by NUXT_APP_BASE_URL envvar
// see https://nuxt.com/docs/api/composables/use-runtime-config#appbaseurl
//baseURL: '/',
head: {
htmlAttrs: {
lang: 'en'
},
title: 'lineup',
link: [
{
rel: 'icon',
type: 'image/x-icon',
href: (process.env.NUXT_APP_BASE_URL || '/') + 'favicon/favicon.ico'
}
]
}
},
colorMode: {
// make compatible with @nuxtjs/tailwindcss module
classSuffix: '',
},
// nitro: {
// // prefer to set this in build environment
// preset: '',
// // copy local files to build output
// publicAssets: [
// {
// baseURL: "node_modules/...",
// dir: "public/images",
// maxAge: 60 * 60 * 24 * 7, // 7 days
// },
// ]
// },
primevue: {
options: {
ripple: true,
// use Tailwind styles
unstyled: true,
},
importPT: { as: 'Tailwind', from: 'primevue/passthrough/tailwind' },
cssLayerOrder: 'tailwind-base, primevue, tailwind-utilities',
},
typescript: {
strict: true,
typeCheck: true,
},
vuefire: {
emulators: {
// uncomment this line to run the application in production mode without emulators during dev
//enabled: false,
},
config: {
apiKey: "AIzaSyDWIA7B4lYdJ3ZqG3YdvEtpVdmWoSLS4w0",
authDomain: "lineup-d5a4d.firebaseapp.com",
projectId: "lineup-d5a4d",
storageBucket: "lineup-d5a4d.appspot.com",
messagingSenderId: "540144972644",
appId: "1:540144972644:web:dd7b271978a32ccc210071"
}
},
})