react - 脚手架
程序员文章站
2024-02-26 21:03:22
...
1.安装脚手架前需要安装node,npm
2. 全局安装react 脚手架
npm install create-react-app -g
3. 利用脚手架创建项目
create-react-app react_project
4. 启动项目
# npm
npm run start
# yarn
yarn start
5. 默认监听端口为3000
上一篇: [工程构建] qmake 中 CONFIG 内置变量
下一篇: React脚手架