基于 react 的 nextjs ssr 服务端渲染企业级脚手架
nextjs 企业级脚手架 【基础布局】【rematch】【redux】【ant-design】 【api proxy】【stylus】【css modules】【多环境切换配置】 【eslint】【lint-staged】【sentry】【pm2 config】如果能帮助你,那就给个star ✨✌️?
文章首发:https://shudong.wang/10604.html
github 地址
https://github.com/wsdo/nextjs-kit
如果能帮助你,那就给个star ✨✌️?
描述
基于 react 的 nextjs ssr 服务端渲染脚手架
开发
yarn
npm run dev
部署
yarn
npm run build
nginx 指向 dist 文件
启动
npm start
TODO
- [x] 支持 stylus
- [x] 支持 css modules
- [x] 基础布局
- [x] 支持 antd
- [x] api 跨域代理
- [x] 状态管理 rematch
- [x] env环境多环境切换配置
- [x] eslint
- [x] sentry
- [x] lint-staged
- [x] pm2 配置
阅读 1.9k
西树与前端
关注西树教育「[链接]」,每天进步一点。
0 条评论
得票最新