diff options
Diffstat (limited to 'nuxt.config.ts')
| -rw-r--r-- | nuxt.config.ts | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/nuxt.config.ts b/nuxt.config.ts index 2e08cd1..724f521 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -1,27 +1,27 @@ // https://nuxt.com/docs/api/configuration/nuxt-config export default defineNuxtConfig({ - compatibilityDate: '2024-11-01', + compatibilityDate: "2024-11-01", devtools: { enabled: true }, ssr: false, - css: ['~/assets/css/main.css'], + css: ["~/assets/css/main.css"], runtimeConfig: { public: { - baseURL: process.env.BASE_URL || '/api', + baseURL: process.env.BASE_URL || "/api", }, }, vite: { server: { proxy: { - '/api': { - target: 'http://localhost:4000', + "/api": { + target: "http://localhost:4000", changeOrigin: true, - rewrite: (path) => path.replace(/^\/api/, '') - } + rewrite: (path) => path.replace(/^\/api/, ""), + }, }, - } + }, }, - - modules: ['@pinia/nuxt'], -})
\ No newline at end of file + + modules: ["@pinia/nuxt", "@vite-pwa/nuxt"], +});
\ No newline at end of file |
