Vue router nesting and bread crumb navigation

existing:

  1. has the following pages: app.vue, a.vue, b.vue,
  2. Bread crumb navigation requirements app > a > b;
  3. a / b page has strong reusability and is equal in router

question:

  1. how to dynamically generate breadcrumb navigation when using nested routing, i.e. app > a > b?
  2. how to generate navigation at a level and write a mapping table to compare each time?
  3. How to solve the problem of parity in
  4. router but being reflected as father-son relationship in breadcrumbs?
  5. 3 can only be solved using nested routing?

vue-admin-template this project will guide you.

Menu