VUE学习

1 切换npm镜像

// 查看当前镜像
npm get registry
// 切换淘宝镜像
npm config set registry http://registry.npm.taobao.org/
// 切换原本npm镜像
npm config set registry https://registry.npmjs.org/

2 安装vue-cli

cnpm install vue-cli -g

3 初始化项目

vue init webpack echoou

你可能感兴趣的:(VUE学习)