Installation cnpm:
[altitude install g cnpm --registry = https://registry.npm.taobao.org ]
Common technology stack installation
stylus:
[cnpm install stylus -g]+[cnpm install stylus stylus-loader --save-dev]
element-ui:
[cnpm install element-ui --save]
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'Examples in the bottom register
new new Vue ({
EL: '#app',
Vuex,
ElementUI,
Router,
the render: H => H (the App)
})axios:
[npm install axios -save]
axios Package: