1. react脚手架
- xxx脚手架:用来帮助程序员快速创建一个基于xxx库的模块项目
- react提供了一个用于创建react项目的脚手架库:
create-react-app - 项目的整体技术架构为:
react+webpack+es6+eslint - 使用脚手架开发项目的特点:模块化,组件化,工程化
2.创建项目并启动
npm install -g create-react-app
create-react-app hello-react
cd hello-react
npm start
使用create-react-app 创建react应用
阅读 80
2021-09-24
create-react-app
react+webpack+es6+eslint
npm install -g create-react-app
create-react-app hello-react
cd hello-react
npm start
相关推荐
精彩评论(0)