10 2023 档案
摘要:步骤首先我们需要下载npm,因为我已经提前安装了node.js,安装包里面集成了npm,然后我们就可以利用npm命令从获取淘宝镜像的cnpm了。1.打开命令行窗口,输入npm install -g cnpm --registry=https://registry.npm.taobao.org获取到c
阅读全文
摘要:vue代码: login.vue <template> <div class="login-wrap"> <el-button type="primary" style="width:100%;" @click="doSubmit()">提交</el-button> </div> </templat
阅读全文
摘要:解决方案1、打开命令行工具,并执行以下命令来设置npm的registry为淘宝镜像源: npm config set registry https://registry.npm.taobao.org/12、验证镜像源是否设置成功,执行以下命令: npm config get registry1确保输
阅读全文