I recently started learning Nuxt.Js
and faced with the problem of deployment on GitHub Pages.
I do everything according to the instructions:
https://medium.com/@kozyreva.hanna/nuxt-js-gh-pages-deployment-73b88aa3aa65
Infinite nuxt-loading
appears on gh-pages
instead of content.
GitHub: https://github.com/Owe7x/slide
GH-pages: https://owe7x.github.io/slide/
What could be the problem?
I've already tried to follow that steps and they didn't work for me, after some researches I ended up with following steps :
dist
entry from .gitignore
filenpm run generate
git add .
then git commit -m "deploy on gh-pages"
nuxt.config.js
: target: 'static',
router: {
base: '/<repository-name>/'
}
git subtree push --prefix dist origin gh-pages
Make sure to delete the current gh-pages
branch before running these commands.