voice Project setup npm install Compiles and hot-reloads for development npm run serve Compiles and minifies for production npm run build Edit Configs see /src/config.js Lints and fixes files npm run lint Customize configuration See Configuration Reference. 部署到django 前端代码更改config.js的后端测试地址http://127.0.0.1:8000为服务器ip ,测试服务器的端口是否正常 前端项目执行npm run build打包,项目目录下生成dist文件夹 复制 dist 文件夹到 django项目的根目录文件夹