Search by Algolia


Use this plugin to simplify creating a “hybrid” Gatsby app with both statically rendered pages as well as “client-paths”. These paths exist on the client only and do not correspond to index.html files in an app’s built assets.



npm install --save gatsby-plugin-create-client-paths

Then configure via gatsby-config.js:

      resolve: `gatsby-plugin-create-client-paths`,
      options: { prefixes: [`/app/*`] },

In this example, all paths prefixed by /app/ will render the route described in src/pages/app/index.js.

Was this helpful? edit this page on GitHub