-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathnuxt.config.ts
More file actions
36 lines (31 loc) · 912 Bytes
/
Copy pathnuxt.config.ts
File metadata and controls
36 lines (31 loc) · 912 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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
modules: ["@nuxt/ui", "@vueuse/nuxt"],
css: ["~/assets/main.css"],
// (optional) Enable the Nuxt devtools
devtools: { enabled: false },
// Enable SSG
ssr: false,
vite: {
// Better support for Tauri CLI output
clearScreen: false,
// Enable environment variables
// Additional environment variables can be found at
// https://tauri.app/2/reference/environment-variables/
envPrefix: ["VITE_", "TAURI_"],
server: {
// Tauri requires a consistent port
strictPort: true,
hmr: {
// Use websocket for mobile hot reloading
protocol: "ws",
// Make sure it's available on the network
host: "0.0.0.0",
// Use a specific port for hmr
port: 5183,
},
},
},
srcDir: "src",
compatibilityDate: "2025-03-21",
});