npm编译项目

  1. 下载安装npm,官网直接下载安装.
  2. cd 项目目录
  3. npm install //安装依赖
  4. npm run build //打包项目
  5. 打包的项目在 项目目录/dist 目录里拷贝到web server即可

相关文章: