vue cli3=>vue cli2桥接

vue cli3=>vue cli2桥接

1.先安装

1
npm install -g @vue/cli

2.再安装

1
npm install -g @vue/cli-service-global

3.最后安装桥接

1
2
3
4
5
6
npm install -g @vue/cli-init

//2.x
vue init webpack my-project
//3.x
vue create my-project