Skip to content

shortdiv/netlify-plugin-prerender-spa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Netlify Plugin - Prerender SPA

This is a Netlify build plugin that prerenders pages in a SPA. Under the hood, the plugin uses React-Snap, a zero-config framework-agnostic static prerendering library for SPAs.

Installation

To include this plugin in your site deployment:

1. Add the plugin as a dependency

# Add the plugin as a dependency to your build
npm i --s netlify-plugin-prerender-spa

2. Add the plugin and its options to your netlify.toml

You can use the default options for prerendering or add customizations via the plugins inputs like so:

# Config for the Netlify Build Plugin: netlify-plugin-minify-html
[[plugins]]
package = "netlify-plugin-prerender-spa"
  [plugins.inputs]
  source = "dist"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published