2019年8月29日
摘要: React 脚手架,来让我们快速的搭建起来一个 React 的项目 1. 全局安装 React 的脚手架 npm i -g create-react-app 2. 创建项目 create-react-app 项目名 3. 进行项目指令: cd 项目名 4. 运行项目: npm start 这样我们 阅读全文
posted @ 2019-08-29 17:27 Web引领者 阅读(359) 评论(0) 推荐(1) 编辑
摘要: 第一种方式 1. 查看当前计算机的下载地址 npm get registry 2. 修改为淘宝npm镜像 npm config set registry http://registry.npm.taobao.org/ 3. 修改为cnpmjs镜像 npm config set registry ht 阅读全文
posted @ 2019-08-29 14:52 Web引领者 阅读(1469) 评论(0) 推荐(0) 编辑