react-static-pro-plugin-reach-router

1.12.0 • Public • Published

react-static-pro-plugin-reach-router

A react static pro plugin that adds @reach/router

Installation

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

Readme

Keywords

none

Package Sidebar

Install

npm i react-static-pro-plugin-reach-router

Weekly Downloads

0

Version

1.12.0

License

MIT

Unpacked Size

6.04 kB

Total Files

5

Last publish

Collaborators

  • satishattada