React 从零搭建项目 使用 create-react-app脚手架

一、安装

  npm install -g create-react-app

  版本校验:create-react-app --version

 

二、创建项目

  create-react-app my-app

  cd my-app/

  npm start

  通过http://localhost:3000/查看你的app

  使用 npm run build 编译打包程序

React 从零搭建项目 使用 create-react-app脚手架

上一篇:android root xposed magisk


下一篇:react-native ios No member named '__rip' in '__darwin_arm_thread_state64