1.0.0 • Published 4 years ago

gatsby-plugin-route-dictionary v1.0.0

Weekly downloads
1
License
MIT
Repository
-
Last release
4 years ago

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:

  1. Run npm install --save-dev gatsby-plugin-route-dictionary. You can also use yarn yarn add --dev gatsby-plugin-route-dictionary
  2. Add the plugin to the plugins array in your gatsby-config.js
// gatsby-config
module.exports = {
  // Other config
  plugins: [`gatsby-plugin-route-dictionary`]
};