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