- 安装本地服务器
npm install -g express-generator
- 初始化文件夹
express -e server
- 安装依赖
npm install
- 打包后的 dist 文件下所有文件复制到 新建文件夹下 public下
- 运行
npm start
- 进行访问
localhost: 3000
vue 打包预览
于 2023-07-07 10:19:17 首次发布
npm install -g express-generator
express -e server
npm install
npm start
localhost: 3000