查询当前镜像地址
shell
npm config get registry
替换镜像地址为阿里云
shell
npm config set registry http://registry.npmmirror.com
切换镜像地址为默认
shell
npm config set registry https://registry.npmjs.org
创建vue3
shell
npm create vue@latest