router4 with page change animation, abortable fetch, custom loading animation...
- Install
create-react-app
andcreate-custom-react-app
$ npm i -g create-react-app create-custom-react-app
- Generator project width template
- With global npm package
$ npm i -g react-template-router
$ create-custom-react-app -t router <project-name>
- With github
$ create-custom-react-app -t likun7981/react-template-router <project-name>
Use git hooks, you should reinstall husky
in work directory
$ npm uninstall husky
$ npm install husky