Skip to content

Latest commit

 

History

History
54 lines (36 loc) · 1.31 KB

开发环境01.md

File metadata and controls

54 lines (36 loc) · 1.31 KB

软件

安装完 Node.js 后设置淘宝镜像,Win + R ,输入 cmd

npm config set registry https://registry.npm.taobao.org --global
npm config set disturl https://npm.taobao.org/dist --global

NPM

$ npm install dva-cli@next -g
  • dva-cli - dva 命令行工具
  • serve - 静态服务
  • yarn - modules 管理
  • react-native-cli - React Native 命令行工具(旧版本)
  • create-react-app - React 官方命令行工具

安装完 yarn 后也为 yarn 设置镜像

yarn config set registry https://registry.npm.taobao.org --global
yarn config set disturl https://npm.taobao.org/dist --global

文档

Visual Studio Code 扩展插件

  • Babel ES6/ES7 --dzannotti
  • npm Intellisense --Christian Kohler
  • Path Autocomplete --Mihai Vilcu
  • vscode-fileheader --mikey
  • Setting Sync