3.2.配置React开发环境

配置React开发环境

脚手架地址:create-react-app

npx create-react-app my-app
cd my-app
npm start

题外小知识:npx是什么?

  • 避免安装全局模块

  • 调用项目内部安装的模块

Last updated

Was this helpful?