forked from NOAA-OWP/ngencerf-ui
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathnuxt.config.ts
More file actions
61 lines (54 loc) · 1.16 KB
/
nuxt.config.ts
File metadata and controls
61 lines (54 loc) · 1.16 KB
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
// https://nuxt.com/docs/api/configuration/nuxt-config
import { Base } from '#build/components';
import Aura from '@primeuix/themes/aura';
export default defineNuxtConfig({
devtools: { enabled: false },
css: ["/assets/styles/styles.scss", "@vuepic/vue-datepicker/dist/main.css"],
modules: [
'@pinia/nuxt',
'pinia-plugin-persistedstate/nuxt',
'@nuxtjs/google-fonts',
'@primevue/nuxt-module'
],
piniaPluginPersistedstate: {
storage: 'localStorage',
},
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
},
googleFonts: {
families: {
Roboto: true,
'Josefin+Sans': true,
Lato: [100, 300],
Raleway: {
wght: [100, 400],
ital: [100]
},
Inter: '200..700',
'Crimson Pro': {
wght: '200..900',
ital: '200..700',
}
}
},
primevue: {
options: {
theme: {
preset: Aura,
options: {
darkModeSelector: false,
}
}
}
},
compatibilityDate: '2024-07-05',
runtimeConfig: {
public: {
ngencerfBaseUrl: process.env.NGENCERF_BASE_URL || 'http://localhost:8000'
}
}
});