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

 

posted @ 2019-08-27 14:14  彭成刚  阅读(153)  评论(0编辑  收藏  举报