1、npm命令依赖报错,解决
npm install --force --legacy-peer-deps
2、npm换源
npm config set registry https://registry.npmmirror.com/
3、npm安装vue2
vue-cli的版本4版本对应vue2,5版本对应vue3
npm install @vue/cli@4 --registry=https://registry.npmmirror.com/