Bug reproduction repo
Demo here https://zurnaz.github.io/nuxt-example/
# install dependencies
$ npm install # Or yarn install
# generate static project
$ npm run generate
# deploy static project to github pages
$ npm run deploy
# run development mode
$ npm run dev
# create a production build
$ npm run build
# run production build
$ npm run start