Skip to content

will-amaral/cra-template-snapshot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cra-template-snapshot

npm version

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.

About

A simple Snapshot + Routes template for CRA

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published