cra-template-snapshot
v1.0.1
Published
A simple Snapshot + Routes template for CRA
Downloads
3
Maintainers
Readme
cra-template-snapshot
A simple Snapshot + Routes template for Create React App
Usage
npx create-react-app my-app --template snapshot
Features
This template aims to provide a simple solution for small react-apps that need static pages generation and improved SEO, without complex configuration. It is ideal for simple business sites and small applications. It manages to do that with the use of react-snapshot, react-router and react-helmet. The template also uses node-sass and gh-pages.
Using this template you get:
- Improved SEO
- Routing
- Out-of-the box sass and scss support
- Static exporting on build.
- Simple type-checking for your components with prop-types. (For advanced features, you might consider switching to TypeScript)
- Gh-pages deployment (To serve your files on Github, you may have to configure your gh-pages branch. Check Github Pages for more information)
Alternatives
If your application needs complex static exporting, you might want to look at Gatsby
License
Licensed under the MIT license.