English / 简体中文
请先确保已安装Node.js ( >=18 ).
npm install
npm run build
VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).
npm install
server: {
proxy: {
'/api': {
target: 'http://127.0.0.1:5050', // 将此处修改为你的后台服务地址
secure: false,
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, '')
}
}
}
npm run dev