-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnuxt.config.ts
More file actions
44 lines (42 loc) · 927 Bytes
/
Copy pathnuxt.config.ts
File metadata and controls
44 lines (42 loc) · 927 Bytes
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
// https://nuxt.com/docs/api/configuration/nuxt-config
import Aura from '@primevue/themes/aura';
import * as dotenv from 'dotenv'
dotenv.config()
export default defineNuxtConfig({
compatibilityDate: '2024-11-01',
devtools: { enabled: false },
modules: [
'@primevue/nuxt-module',
'@pinia/nuxt'
],
plugins: [
'plugins/axios.js',
],
runtimeConfig: {
public: {
apiKey: process.env.NUXT_API_KEY,
baseURL: process.env.NUXT_BASE_URL,
},
},
css: ['~/assets/css/main.css', '~/assets/css/style.scss'],
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
},
primevue: {
options: {
ripple: true,
inputVariant: 'filled',
theme: {
preset: Aura,
options: {
prefix: 'p',
darkModeSelector: 'light',
cssLayer: false
}
}
}
}
})