diff --git a/demo.html b/demo.html index 2934127..c0ee9ad 100644 --- a/demo.html +++ b/demo.html @@ -18,18 +18,28 @@
- 仅拼接 iframe src:index.html?filePath=URL&mode=edit + 仅拼接 iframe src:vocd.html?filePath=URL&mode=edit
- + - \ No newline at end of file + diff --git a/vite.config.ts b/vite.config.ts index 412df67..2277412 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -39,7 +39,7 @@ export default defineConfig(({ mode }) => { } return { base: './', - publicDir: false, + publicDir: 'public', build: { rollupOptions: { input: { @@ -48,7 +48,8 @@ export default defineConfig(({ mode }) => { } }, server: { - host: '0.0.0.0' + host: '0.0.0.0', + open: '/demo.html' } } })