diff --git a/packages/zip-viewer/package.json b/packages/zip-viewer/package.json index 4e847e9..a3cc505 100644 --- a/packages/zip-viewer/package.json +++ b/packages/zip-viewer/package.json @@ -18,6 +18,7 @@ "@vitejs/plugin-vue": "^4.0.0", "@vue/tsconfig": "^0.1.3", "typescript": "~4.8.4", + "unplugin": "1.0.0", "unplugin-auto-import": "^0.11.2", "unplugin-element-plus": "^0.4.1", "unplugin-vue-components": "^0.22.8", diff --git a/packages/zip-viewer/vite.config.ts b/packages/zip-viewer/vite.config.ts index bd0cd0c..7e59a3f 100644 --- a/packages/zip-viewer/vite.config.ts +++ b/packages/zip-viewer/vite.config.ts @@ -22,6 +22,7 @@ export default defineConfig({ }), ], server: { + host:'127.0.0.1', port: 8593 }, resolve: {