- Multipy Koa-Routers using.
- Flowtype.
- Eslint.
- Backpack.
Create your router in src/routes file then import it in src/routes/index.js
example:
const newRouter = require('./newRouter');
const routes = combineRouters([root, newRouter]);
-
Build:
yarn build
-
Dev server:
yarn dev
-
Start on your server:
yarn start