# react-demo **Repository Path**: fjay/react-demo ## Basic Information - **Project Name**: react-demo - **Description**: No description available - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2016-12-08 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # React Demo ## 搭建开发环境 ### NODEJS * 安装nodejs 从 https://nodejs.org/en/ 下载6.9.2版本并安装 * 终端运行以下命令: ```shell npm config set registry https://registry.npm.taobao.org ``` ### WebStorm * 打开WebStorm,在Terminal运行以下命令: ```shell npm install ``` * 运行demo: ```shell npm start ``` 然后打开网址:http://localhost:8008/ ## React 参考资料: https://hulufei.gitbooks.io/react-tutorial/content/jsx.html 只需要看到4.5章节 https://github.com/carlleton/reactjs101/blob/zh-CN/Ch05/react-router-introduction.md#%E5%BC%80%E5%A7%8B-react-routing-%E4%B9%8B%E6%97%85 只需要看本章