busy-human / vue-firebase-auth-plugins

A middleware that can be installed in your Vue project for authentication
Other
3 stars 0 forks source link

Vue.use(AuthGuard, { auth: firebase.auth(), router: router }); fails #6

Open tarkhil opened 3 years ago

tarkhil commented 3 years ago

Repo https://github.com/tarkhil/authjs - branch vue-firebase-auth-plugins-use

Code is just a common vue boilerplate with addition of vue-firebase-auth-plugins

Uncaught TypeError: router.beforeEach is not a function

TypeError: router.push is not a function

jonathanrevell commented 3 years ago

Could you provide a more detailed stack trace of the issue you encountered? (e.g. what line number and file threw the exception?)

We should be able to review this in the next few days

tarkhil commented 3 years ago

I've presented a repository to reproduce the problem. Will recheck and post detailed trace

On 12.01.2021 1:50, Jonathan Oaklyn wrote:

Could you provide a more detailed stack trace of the issue you encountered? (e.g. what line number and file threw the exception?)

We should be able to review this in the next few days

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/busy-human/vue-firebase-auth-plugins/issues/6#issuecomment-758274427, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAD4K5YKX2UN66KWZHM22N3SZN6E5ANCNFSM4V42HL3A.