Search code examples
javascriptvue.jsnuxt.jsnuxt3.js

How do I disable Nuxt3 default loading indicator?


I have been looking in documentation and googling for a long time and for some reason I can't seem to figure out how to disable the default Nuxt3 loading indicator. Does anyone know how to deal with this?

It only appears for a split second when I refresh page on the "/" path, so the page that displays the index.vue page. Attaching an image for reference.

image for reference


Solution

  • Try to set { spaLoadingTemplate: false } in nuxt.config.ts.

    You can also create your own loading indicator.
    More info here: https://nuxt.com/docs/api/configuration/nuxt-config#spaloadingtemplate