-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
47 lines (47 loc) · 1.15 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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
ssr: false,
app: {
head: {
link: [
{ rel: 'preconnect', href: 'https://fonts.googleapis.com' },
{ rel: 'preconnect', href: 'https://fonts.gstatic.com', crossorigin: '' },
{ href: 'https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap', rel: 'stylesheet' },
{ rel: 'icon', type: 'image/png', href: '/favicon.png' }
]
}
},
devServer: {
port: 9000
},
runtimeConfig: {
public: {
backendUrl: process.env.BACKEND_URL
}
},
devtools: { enabled: true },
css: ['@/assets/css/main.css'],
modules: ['@nuxt/ui', '@nuxt/eslint', '@pinia/nuxt', '@pinia-plugin-persistedstate/nuxt', '@nuxt/devtools'],
eslint: {
config: {
stylistic: true
}
},
ui: {
icons: ['mdi', 'material-symbols', 'devicon']
},
colorMode: {
preference: 'system',
fallback: 'dark'
},
tailwindcss: {
configPath: '@/tailwind.config.ts',
cssPath: '@/assets/css/main.css'
},
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
},
})