cra-template-leon

Customised create-react-app template.


Keywords
react, react-router, create-react-app, template
License
MIT
Install
npm install cra-template-leon@1.1.8

Documentation

Welcome to my custom CRA ( create-react-app ) template.

Note: this template was created to be as ready out the box as possible, as minimal as possible and convient, whilst ensuring a clean structure and good SEO.

Features currently included:

  • Comes with react-router
  • React router setup in app.js ( home and 404 route by default )
  • React router configured with lazy loading and a default loading spinner
  • Simple folder strucure inside ./src
  • PostCSS css reset in ./src/App.css
  • env files setup + dotenv package to configure them ( in ./src/App.js )
  • Minimal index.html with important tags
  • Stripped away some generally unusued files

Files that need to be configured per app:

  • public/index.html
  • public/manifest.json
  • public/favicon.ico
  • env