-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
43 lines (43 loc) · 1.01 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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: true },
modules: [
'nuxt-primevue',
'@nuxtjs/tailwindcss',
'@formkit/nuxt',
'@pinia/nuxt',
],
pinia: {
storesDirs: ['./stores/**'],
},
primevue: {
cssLayerOrder: 'tailwind-base, primevue, tailwind-utilities'
},
tailwindcss: {
cssPath: '~/assets/css/tailwind.css',
configPath: 'tailwind.config',
},
formkit: {
// Experimental support for auto loading (see note):
autoImport: true
},
runtimeConfig: {
public: {
apiBase: ""
},
},
css: [
'~/assets/css/tailwind.css',
'primevue/resources/themes/bootstrap4-light-blue/theme.css'
],
imports: {
dirs: [
// Scan top-level modules
'composables',
// ... or scan modules nested one level deep with a specific name and file extension
'composables/*/index.{ts,js,mjs,mts}',
// ... or scan all modules within given directory
'composables/**'
]
},
})