1
0
mirror of synced 2025-11-06 04:21:02 +08:00

build: runtime支持热更新

This commit is contained in:
roymondchen
2022-07-01 17:38:33 +08:00
committed by jia000
parent 6d4323123f
commit 4216880d11
22 changed files with 427 additions and 201 deletions

View File

@@ -61,17 +61,7 @@ export default defineConfig({
host: '0.0.0.0',
port: 8098,
proxy: {
'^/tmagic-editor/playground/runtime/react': {
target: 'http://127.0.0.1:8076',
changeOrigin: true,
prependPath: false,
},
'^/tmagic-editor/playground/runtime/vue2': {
target: 'http://127.0.0.1:8077',
changeOrigin: true,
prependPath: false,
},
'^/tmagic-editor/playground/runtime/vue3': {
'^/tmagic-editor/playground/runtime': {
target: 'http://127.0.0.1:8078',
changeOrigin: true,
prependPath: false,