Intro to Authentication + Authorization
2:31
Displaying Users
4:20
Setting CurrentUser
5:43
Saving currentUser to localStorage
2:29
Basic Login Flow - Email and Password
9:29
Hide/Show Password
6:01
Login Form Validations
6:41
UserAuthForm Component
5:17
The User Registration Page
7:17
Navbar Cleanup
2:32
Mid-Course Review for Auth
7:46
Navigation Guards
5:36
Nested Routes with Vue Router
8:16
Token Authentication
11:24
Review
3:22
0% done with Authentication and Authorization in VueJS

Chapter 8 of 27 in Building VueScreencasts.com
Nested Routes with Vue Router

One way to protect all of our Admin Routes would be to copy the beforeEnter block from the last lesson and paste it in all the protected routes.

A much more efficient method would be to make a parent route (Admin) with the beforeEnter block, then nest all the Admin-related routes that we want to protect under it.

What do others think of VueScreencasts?
"great explanation! thank you!!!"
—Elizaveta Voloskova
"Great video as always, I really like the idea of basing the video in terms of features, as someone only looking to learn particular feature can get benefits from the video. Also, I really like you going through what we have done in the video at the end, it really helps in better understanding."
—Paurakh Sharma Humagain
"tks u so much"
—013356386
"Amazing content. Good job, man."
—milose
Take your career to the next level