Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 518 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 518 Bytes

poi-plugin-prerender-spa-plugin

Installation

yarn add -D poi-plugin-prerender-spa-plugin

Configuration

export default {
  plugins: [
    {
      resolve: 'prerender-spa-plugin',
      options: {
        staticDir: resolve(__dirname, 'dist'),
        routes: [ '/' ]
      }
    }
  ]
}

For a list with all options, check out https://github.com/chrisvfritz/prerender-spa-plugin.

Disclaimer

This plugin was developed for internal usage and is heavily customized to my particular workflow.