1.脚手架安装
npm i -g create-react-app
2.版本号查看
create-react-app -V or create-react-app --version
3.构建项目
npx create-react-app my-app
4.项目构建完成之后
cd my-app
5.启动编译项目
npm start
1.脚手架安装
npm i -g create-react-app
2.版本号查看
create-react-app -V or create-react-app --version
3.构建项目
npx create-react-app my-app
4.项目构建完成之后
cd my-app
5.启动编译项目
npm start