工具:使用create-react-app脚手架开发

npm install -g create-react-app
create-react-app my-app
cd my-app/
/**启动项目/
npm start
/*安装依赖*/
npm install

/*编译*/
npm run build
Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐