Skip to content

Commit

Permalink
发布 啊就这解决了实时预览问题??
Browse files Browse the repository at this point in the history
  • Loading branch information
duolabmeng6 committed Oct 24, 2023
1 parent aed6481 commit e099496
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions GoEasyDesigner/frontend/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
5 changes: 5 additions & 0 deletions wails-demo/frontend/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
],
Expand Down

0 comments on commit e099496

Please sign in to comment.