react 环境搭建

$ cnpm install -g create-react-app
$ create-react-app my-app (eslint报错 换下面的)
npx create-react-app my-app  --use-npm
$ cd my-app/
$ npm start
原文地址:https://www.cnblogs.com/pengchenggang/p/11418034.html