react脚手架搭建项目
全局安装react的项目
yarn global add create-react-app或者是使用 npm i create-react -app -g
初始化项目、
create-react-app +搭建项目的名称即可实现react的构建的项目
create-react-app --version查看react的脚手架的版本
全局卸载react的脚手架的命令
yarn remove create-react-app即可移除当前的脚手架的版本
npm run eject将webpack里面的所有的配置放到项目当中去
浙公网安备 33010602011771号