next-navigation-guard Example

Current Page: pagesRouter 2
App Router
  1. Page1
  2. Page2
  3. Page3
Pages Router
  1. Page1
  2. Page2
  3. Page3