# 前端培训文档 ## 安装依赖包 ### offline ```bash # offline tar xf node_modules.tar.xz ``` ### online ```bash yarn config set registry 'https://registry.npmmirror.com/' --global # for China users yarn install ``` - for windows user, download [Node.js](https://nodejs.org/en/download/current/) and then, ```bash npm config set registry 'https://registry.npmmirror.com/' --global # for China user npm install -g yarn ``` ![dashboard.png](dashboard.png) ## 开发模式启动 [dashboard](http://localhost:3000) ```bash yarn start ``` ## Typescript - [Typescript 第一天](ts-day-1/) ## React - [React 第一天](react-day-1/) - [React 第二天](react-day-2/) - [React 第三天](react-day-3/) - [React 第四天](react-day-4/) - [React 第五天](react-day-5/)