Geoff Carr
Geoff Carr

Reputation: 23

Gatsby - Possible to create a standalone page within site?

Is there a suggested way to create a "standalone" page within a larger Gatsby site? Not sure if I am describing it correctly...

I have a route/page that requires some heavy use of 3rd party js libraries that seem to conflict with other areas of my Gatsby site. I am trying to just isolate that page and force a page navigate to that particular page without any single page app functionality.

Upvotes: 0

Views: 143

Answers (1)

coreyward
coreyward

Reputation: 80041

You can place files in the static folder and they'll be copied over to the public folder on build, so creating a file at static/some-page/index.html would wind up available at https://www.example.com/some-page/ and wouldn't load any Gatsby-related code.

Upvotes: 1

Related Questions