React-Express-Starter:快速启动React开发之旅
React-Express-Starter:高效React开发起点
技术栈: React Router, Webpack, HMR, PostCSS, Express
快速上手:
- 安装依赖:
npm install
- 启动开发服务器:
npm start
(自动开启热模块替换) - 生产环境构建:
- 构建:
npm run build
- 启动:
npm run build:start
- 构建:
部署:
- 安装 Heroku CLI.
- 创建 Heroku 应用:
heroku create myapp
- 部署:
git push heroku master
灵感来源: bharanim
react-express-starter-master.zip
预估大小:21个文件
react-express-starter-master
文件夹
server.production.js
426B
server.development.js
989B
src
文件夹
pages
文件夹
about
文件夹
page.js
396B
style.css
33B
home
文件夹
page.js
402B
12.62KB
文件大小:
评论区