1.安装
npm install -g cnpm --registry=https://registry.npm.taobao.org
cnpm i -g @vue/cli
vue -v
2.使用
vue ui
vue create vue_project
选择第二项
Babel,Router,linter/Formatter
n(hash模式的路由)
ESLint+Standard config
Lint save
In dedicated config files
n(是否保留模板)
cd vue_project
cpnm run serve
loact:弹出地址
network:
原文:https://www.cnblogs.com/black-eyes/p/14013595.html