直接使用idea的react会报错
想要下载node.js
查看安装npm和node.js的版本
使用淘宝镜像
npm install -g cnpm --registry=https://registry.npm.taobao.org
搭建一个react手脚架 npm install -g create-react-app

注意create-react-app的地址
直接使用idea的react会报错
想要下载node.js
查看安装npm和node.js的版本
使用淘宝镜像
npm install -g cnpm --registry=https://registry.npm.taobao.org
搭建一个react手脚架 npm install -g create-react-app
注意create-react-app的地址
本文标题:idea中构建react
本文链接:https://www.haomeiwen.com/subject/jxvsodtx.html
网友评论