Home

Issue: 2208

Show default Progress Bar when loading data

[issue link]

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!

This question is available on Nuxt.js community (#c1946)