Skip to content

likun7981/react-template-router

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-template-router

router4 with page change animation, abortable fetch, custom loading animation...

Usage

  1. Install create-react-app and create-custom-react-app
$ npm i -g create-react-app create-custom-react-app
  1. 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>

Note

Use git hooks, you should reinstall husky in work directory

$ npm uninstall husky
$ npm install husky