在线工具
主要功能
- xxx
安装步骤
npm install // 安装项目依赖,等待安装完成之后,安装失败可用 cnpm 或 yarn
// 执行构建命令,生成的dist文件夹放在服务器下即可访问
npm run build
// 开启服务器,浏览器访问 http://localhost:8080
npm run serve
或
npm run dev
注意事项
根仓库换源
// 淘宝仓库
npm config set registry https://registry.npm.taobao.org/
// 官方仓库
npm config set registry http://www.npmjs.org