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
- 支持 stylus
- 支持 css modules
- 基础布局
- 支持 antd
- api 跨域代理
- 状态管理 rematch
- env环境多环境切换配置
- eslint
- sentry
- lint-staged
- pm2 配置