问题
1. npm 镜像太慢,换淘宝镜像
npm config set registry https://registry.npm.taobao.org
2. 因为项目vue
中的template
需要解析,提示我们安装依赖模块vue-template-compiler
安装
npm i vue-template-compiler --save-dev
问题
1. npm 镜像太慢,换淘宝镜像
npm config set registry https://registry.npm.taobao.org
2. 因为项目vue
中的template
需要解析,提示我们安装依赖模块vue-template-compiler
安装
npm i vue-template-compiler --save-dev