How to add static files to gatsby site

 https://stackoverflow.com/questions/60517182/how-to-add-static-files-to-gatsby-site


  1. In your Gatsby project root is a /static folder. If it isn't there you can create it.

  2. Place your static HTML in there. It should have the path /static/moreStuff/evenMoreStuff,

  3. gatsby develop or gatsby build.

You're done.

Make sure not to create a page in your /pages directory with the same name or route as your static html files.

Không có nhận xét nào:

Cold Turkey Blocker

 https://superuser.com/questions/1366153/how-to-get-rid-of-cold-turkey-website-blocker-get-around-the-block Very old question, but still wan...