In my nuxt.config.js I added loading: '~/components/LoadingBar.vue'
.
After deploying the site my custom page transition works, but only when the first page visited is different from the home
page.
For example, if you visit this link and navigate from there to /About
, or /Portfolio
, you'll see my custom transition (blur effect + loading circle).
Now, click on the logo (my name, above the "Home" menu item): my custom page transition inexplicably resets to default Nuxt page transition, with the white loading bar at the very top of the page.
Not sure if that's a known bug with Nuxt.js
, I can't think of anything in my code that could cause something like that. How do I fix it?