Skip to main content
Official Plugin
View plugin on GitHub
See starters using this

gatsby-plugin-create-client-paths

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.

For more information refer to client-only routes & user authentication.

Usage

Install:

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.js.


Edit this page on GitHub
Docs
Tutorials
Plugins
Blog
Showcase