react-static-plugin-reach-router

7.6.2 • Public • Published

react-static-plugin-reach-router

A React-Static plugin that adds support for @reach/router

Installation

  • Install this plugin and peer dependencies:
$ yarn add react-static-plugin-reach-router @reach/router
  • Add the plugin to your static.config.js:
export default {
  plugins: ['react-static-plugin-reach-router'],
}
export default {
  plugins: [
    [
      'react-static-plugin-reach-router',
      {
        RouterProps: {
          // These props will be passed to the underlying `Router` component
        },
      },
    ],
  ],
}

Dependents (4)

Package Sidebar

Install

npm i react-static-plugin-reach-router

Weekly Downloads

884

Version

7.6.2

License

MIT

Unpacked Size

7.61 kB

Total Files

6

Last publish

Collaborators

  • tannerlinsley
  • sleeplessbyte