I wrote a web application on nuxt.js
. I followed this instruction clearly.
Nuxt.js deploy on GitHub Pages
But when I deploy my app to Github Pages, there was an error on my site in the console
Here is my site
The .nojekyll
file is missing.
You have forgotten to commit the empty file called .nojekyll
from dist
to your GitHub project.
This is because GitHub Pages will by default ignore any files and folders prefixed by an underscore (like _nuxt
), as documented here: https://github.com/blog/572-bypassing-jekyll-on-github-pages