diff --git a/GoEasyDesigner/frontend/vite.config.js b/GoEasyDesigner/frontend/vite.config.js index 045ea1bc..bd6bf079 100644 --- a/GoEasyDesigner/frontend/vite.config.js +++ b/GoEasyDesigner/frontend/vite.config.js @@ -14,6 +14,8 @@ import IconsResolver from 'unplugin-icons/resolver' export default defineConfig({ server: { host: "0.0.0.0", + port:5173, + hmr:true }, preview: { host: "0.0.0.0", diff --git a/wails-demo/frontend/vite.config.js b/wails-demo/frontend/vite.config.js index 1000284c..5fc8e8c3 100644 --- a/wails-demo/frontend/vite.config.js +++ b/wails-demo/frontend/vite.config.js @@ -5,6 +5,11 @@ import vue from '@vitejs/plugin-vue' // https://vitejs.dev/config/ export default defineConfig({ + server: { + host: "0.0.0.0", + port:6173, + hmr:true + }, plugins: [ vue(), ],