Starter based on Create React App.
# install dependencies
yarn
# start in dev mode
yarn start
# create production build
yarn build
onEnter
functionality from old react-router
.typeless-router
RouteResolver
scans all modules and loads all routes automatically.RouteConfig
. Some routes are only for the authenticated user, and some routes are only for the anonymous user. Feel free to extend this functionality depending on your needs.login
, sample1
, sample2
are dynamically loaded with React.lazy
.typeless-form
yarn run start
Start in development mode.
yarn run build
Create a production build.
yarn run prettier
Auto-format code with prettier.
yarn run tsc
Check for TypeScript errors.
yarn run lint
Check for tslint errors.
Install plop npm i -g plop
.
Following blueprints are available:
feature
- create a blueprint for a new feature. Includes: interface, module, example component.MIT