一. 开发环境的搭建及配置

1.node下载:http://nodejs.cn/download/,安装。

2.包管理工具

npm : node自带,速度较慢

yarn : 速度快

cnpm: 淘宝的

3.npm代理设置

默认代理比较慢,设置淘宝代理,npm config set registry https://registry.npm.taobao.org

4.安装yarn,-g表示全局模块

npm install yarn -g

5.常用的命令

安装命令

npm install <模块名> <-g> <–save或者–save-dev> 
yarn add <模块名> <–save或者–save-dev>

卸载

npm uninstall <模块名> <-g> 
yarn remove <模块名>

6.ide工具安装

下载地址:https://code.visualstudio.com/Download 

配置中文显示:ctrl+shift+p

React学习之旅

React学习之旅

React学习之旅

其他常用扩展包

React学习之旅

相关文章:

  • 2021-06-14
  • 2021-06-16
  • 2021-10-05
  • 2021-09-21
  • 2022-01-16
  • 2022-01-07
猜你喜欢
  • 2021-05-01
  • 2021-04-27
  • 2022-01-17
  • 2021-08-22
  • 2021-06-29
  • 2021-11-27
  • 2021-05-22
相关资源
相似解决方案