This is a blog deployed on Github pages. Enabled with these two packages:
Using @nuxt/content package
- using gh-pages package
- add .nojekyll file to the directory to disable jekyll, this gets rid of issue where jekyll prevents file starting with _ to load . See discussion here . Remember to commit this change and re deploy
- Sometimes we also need to delete the branch gh-pages on the remote repo to force github's scripts related to pages to rerun
- clone the repo
- test run locally
npm run dev
- deploy to Github pages
npm run deploy