1👍
firebase.auth().onAuthStateChanged is asynchronous, so next() at the end of your router guard gets invoked without waiting for firebase.auth().onAuthStateChanged to resolve, meaning your router guard lets everyone through.
- [Vuejs]-CKFinder 3 with Laravel 6 and Vuejs – 404 Error when accessing File Browser from vue
- [Vuejs]-Global Components in Nuxt JS
Source:stackexchange.com