Touring Vue Router (Composition API)

Lessons

1. Introduction

1:19

2. Receiving URL Parameters

4:31

3. Building Pagination

9:27

4. Nested Routes

10:03

5. Redirect & Alias

5:52

6. Programmatic Navigation

5:20

7. Error Handling and 404s

8:01

8. Flash Messages

5:23

9. Wrapping Up

5:05

Nested Routes

Often when building web applications we need to be able to perform multiple actions (View, Edit, Register) for a single resource (Event). Each URL provides different information on that resource:

  • /event/2 - Event Details (information)
  • /event/2/register - Event Register (to signup for the event)
  • /event/2/edit - Event Edit (to edit the event)

Implemen