vite-plugin-vue-layouts icon indicating copy to clipboard operation
vite-plugin-vue-layouts copied to clipboard

How can I generate navigation breadcrumbs?

Open zybzzc opened this issue 2 years ago • 1 comments

Dir tree:

src/pages
├── posts
│   └── list
│       ├── index.vue
│       └── new
│           └── index.vue

The currently generated routes is:

{path: '/posts'},
{path: '/posts/new'}

So when I am on the /posts/new page, the $route.matched doesn't includes /posts route.

zybzzc avatar Mar 25 '22 08:03 zybzzc

like this
image

For reference, this is a demo https://github.com/zhuhaobam/vtdd

zhuhaobam avatar Aug 08 '22 09:08 zhuhaobam

This would be beyond the scope of this project.

JohnCampionJr avatar Dec 05 '23 01:12 JohnCampionJr