gatsby-plugin-route-dictionary
v1.0.0
Published
Exports a json file with all known routes. We can read this this json in other tooling. The route will be available in **public/\_routes.json**
Downloads
2
Readme
Gatsby plugin: Route Dictionary
Exports a json file with all known routes. We can read this this json in other tooling. The route will be available in public/_routes.json
Installation
You can simply install this plugin by installing it through Gatsby recipes:
gatsby recipes https://raw.githubusercontent.com/wardpeet/gatsby-plugin-performance-doctor/master/packages/gatsby-plugin-route-dictionary/recipe.md
If you're more hardcore and want to install it manually, you can by:
- Run
npm install --save-dev gatsby-plugin-route-dictionary
. You can also use yarnyarn add --dev gatsby-plugin-route-dictionary
- Add the plugin to the plugins array in your
gatsby-config.js
// gatsby-config
module.exports = {
// Other config
plugins: [`gatsby-plugin-route-dictionary`]
};