I'm doing async work in my router's navigation guard:
router.beforeEach((to, from, next) => {
somethingAsync().done(next)
})
Does the router expose anything to tell me that it's currently "loading"? Or do I need to keep track of it myself? Right now the content will pop up in<router-view></router-view>
once the async work is completed. My current solution is to keep track of active work in my Vuex store and show a loading element next to the router view.