1, the installation Taobao npm mirror
输入命令:npm install -g cnpm --registry=https://registry.npm.taobao.org
2, the overall installation scaffold vue-cli
cnpm install --global vue-cli
3, to initiate a project vue
vue init webpack itemname
4, installation elementUI
npm i element-ui -S
Fast the shortcut key ctrl + c, batch operations terminate it (Y / N), -S npm i element-ui on input commands