flasco / react-next-bolierplate

react ssr bolierplate, use antd, typescript, koa2...

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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

About

react ssr bolierplate, use antd, typescript, koa2...


Languages

Language:JavaScript 92.5%Language:TypeScript 6.1%Language:CSS 1.5%