diff --git a/vite.config.js b/vite.config.js index 171bd53..f4cb26e 100644 --- a/vite.config.js +++ b/vite.config.js @@ -4,11 +4,11 @@ import vue from '@vitejs/plugin-vue' export default defineConfig(({ mode }) => { // 加载环境变量 const env = loadEnv(mode, process.cwd(), '') - + return { plugins: [vue()], server: { - port: 3000, + port: 3006, open: true }, define: {