Github Pages (or elsewhere)
[Insert reject modernity meme]
Github pages, or any static web provider, can absolutely be used to host WebGeoDa scaffolding! To export your site as a static, plain ol' JS, HTML, and CSS website, run the following commands:
npm run build
npm run export
This will generate a folder named out that contains your generated site pages. Rename this to docs and then follow the tutorial below to set up a Github pages site:
Creating a GitHub Pages site - GitHub Docs
GitHub Docs
A few important notes here: - GitHub does not have the same performance as Netlify or Vercel - Static site exports will not support all Next.js features, like dynamic routes
With that said, you can take the built out folder generated in your repo to any static web hosting, or host it yourself!
Copy link