Is there any best practise to display the lovely Progress bar
which comes with nuxt, at any time from a component or from a mutation in the store (for example: showing the progress of data being loaded or a form being submitted)?
I tried it with calling this.$nuxt.$loading.start()
which does not work all the time (at some points $nuxt
was undefined).
Big thanks in advance!
<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c1946">#c1946</a>)</em></sub></div>