diff --git a/client/package.json b/client/package.json index 842050d..c7b365b 100644 --- a/client/package.json +++ b/client/package.json @@ -5,7 +5,7 @@ "type": "module", "scripts": { "start": "vite", - "build": "vue-tsc --build && vue build" + "build": "vue-tsc --build && vite build" }, "dependencies": { "vue": "^3.5.38" diff --git a/client/vite.config.ts b/client/vite.config.ts index 5ca13e6..f8eab1c 100644 --- a/client/vite.config.ts +++ b/client/vite.config.ts @@ -7,7 +7,7 @@ import vueDevTools from 'vite-plugin-vue-devtools' // https://vite.dev/config/ export default defineConfig({ plugins: [vue()], - serve: { port: 5173 }, + server: { port: 5173 }, build: { outDir: '../server/public', emptyOutDir: true,