现在安装的是vue2.0,怎样才能回到vue1.0的版本呢
npm install -g vue-cli
npm install -g vue-cli
2016-12-21
Example:
Installing the 1.0 branch of the webpack-simple vue template:
vue init 'webpack-simple#1.0' mynewproject
Note: The surrounding quotes are necessary on zsh shells because of the special meaning of the # character.
https://github.com/vuejs/vue-cli
单独使用的话直接在package.json里改版本号就行。
不过,还是用2.0吧,骚年
举报