-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
49 lines (49 loc) · 851 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
38
39
40
41
42
43
44
45
46
47
48
49
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: false },
modules: ['@nuxt/ui'],
ssr: false,
telemetry: false,
colorMode: {
preference: 'dark'
},
app: {
pageTransition: {
name: 'fade',
mode: 'out-in',
},
layoutTransition: {
name: 'fade',
mode: 'out-in',
},
},
vite: {
clearScreen: false,
envPrefix: ['VITE_', 'TAURI_'],
server: {
strictPort: true,
hmr: {
protocol: "ws",
host: "0.0.0.0",
port: 3001
},
watch: {
ignored: ["**/src-tauri/**"]
}
},
},
css: [
'~/assets/styles/main.css',
],
devServer: {
host: "0.0.0.0"
},
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
},
compatibilityDate: "2024-10-01",
srcDir: 'src/'
})