react-next-bolierplate
react ssr bolierplate, use antd, typescript, koa2...
https://github.com/flasco/react-next-bolierplate
env-require
- node 8+
- yarn
how-to-run
cd <project root dir>
yarn # install dependencies
yarn dev # start server
how-to-build
yarn build
yarn server:prod # start server with prod mode
some docs
- next.js
- ant design
- typescript guides ... and more
use code lint
- vscode add
sass-lint
,prettier
,eslint
extension. - reload vscode
fileName agreement
use horizontal line to split words.
person-level
rather than PersonLevel
, unless it's a Class, you can use PersonLevelHeader.js
to your fileName.
But I prefer to use person-level-header/index.js
to replace PersonLevelHeader.js