DEV Community


Discussion on: Building User Accounts with Nuxt, Vuex, and Firebase

drewclem profile image
Drew Clements Author

Great question! Perhaps I should update this article to include that.

In the meantime, you can check out this repo that does just that.

Here is where middleware is set up
And here is how you would lock a page behind the authentication (see line 43)