-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
37 lines (36 loc) · 945 Bytes
/
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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
app: {
baseURL: '/', // baseURL: '/<repository>/' https://<username>.github.io/<repository>/
},
compatibilityDate: "2024-11-01",
devtools: { enabled: true },
typescript: {
strict: true,
},
modules: [
"@primevue/nuxt-module",
'@nuxtjs/tailwindcss',
'@nuxtjs/color-mode',
'@nuxt/content',
],
content: {
preview: {
api: 'https://api.nuxt.studio',
// force module initialization on dev env
dev: true
}
},
tailwindcss: {
cssPath: '@/assets/scss/tailwind.scss',
configPath: '@/tailwind.config.ts',
},
css: ['@/assets/scss/base.scss', 'primeicons/primeicons.css'],
primevue: {
components: {
prefix: 'Prime',
},
importTheme: { as: 'customTheme', from: '@/themes/customTheme.ts' },
importPT: { as: 'passThrough', from: '@/themes/passThrough.ts' },
},
});