________________________________________________________________________________________________________________
React 教程
https://www.runoob.com/react/react-install.html
Node.js 教程
https://www.runoob.com/nodejs/nodejs-install-setup.html
快速入门React
https://segmentfault.com/a/1190000015639865
________________________________________________________________________________________________________________
React基础学习
http://10.102.17.181:8001/docs/react/getting-started-cn
1. 安装 nodejs 类似安装jdk,jvm
2. 指定组件下载路径
D:
odejsadminPage_sourceCode>npm config set registry=http://10.100.1.27:8688/repository/npm-all/ --配置仓库
3. 创建项目
D:
odejsadminPage_sourceCode>npx create-react-app helloworld
4.常用命令
npx create-react-app xxxx --创建项目
npm install --获取依赖
npm start --运行项目
npm run build --打包项目 --uild
________________________________________________________________________________________________________________