Put in order · Vue.js course · Module 10: Vue Router

Navigation Guards Order

Arrange the execution order of navigation guards:

Items to put in order

  • Global beforeResolve
  • Per-route beforeEnter
  • In-component guards
  • Global afterEach
  • Global beforeEach

You can check the correct answer by solving this task in the CodeWorlds game.