安装nodejs后,
首先安装淘宝镜像:npm install -g cnpm --registry=https://registry.npm.taobao.org
淘宝镜像安装成功后,安装vue脚手架:cnpm install vue-cli -g
参考地址:https://www.cnblogs.com/dreling/p/6892684.html
vue项目demo:https://segmentfault.com/p/1210000008583242/read?from=timeline#Demo%E7%A4%BA%E4%BE%8B
时间: 2024-10-10 17:39:11