Outline

Middleware is a Nuxt-only option that allows you to run server-side or client-side code before the page loads. Middleware differs from asyncData in that middleware can attach to more than one page. In this video, students will learn how to add middleware authentication to their ecommerce site to verify if a user is properly logged in or not.

 

I finished! On to the next chapter