一、全局安装create-react-app

cnpm i -g create-react-app 

二、使用create-react-app创建一个demo

create-react-app react01

三、进入项目,并启动项目

cd react01

cnpm start

react脚手架的使用

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-02-16
  • 2022-01-28
  • 2021-05-24
  • 2021-04-03
猜你喜欢
  • 2022-01-15
  • 2022-12-23
  • 2022-02-12
  • 2022-02-08
  • 2022-12-23
  • 2021-04-13
  • 2021-06-20
相关资源
相似解决方案