2.启动前端

配置 安装 node npm

1.安装依赖,建议不要用直接使用 cnpm 安装,会有各种诡异的 bug,可以通过重新指定 registry 来解决 npm 安装速度慢的问题:在命令行输入
npm install --registry=https://registry.npm.taobao.org

2.npm run dev 启动前端

原文地址:https://www.cnblogs.com/CoreXin/p/14397756.html