Very simple Vue breadcrumbs in 40 lines of code


#1

I’ve made a simple breadcrumbs component:

link

The key difference from other similar components is that it works with multi-level paths without the need for child views.

For example: “/foo/bar” and “/foo/boo” or even “/foo/:id” can all be used at the same level with a single router-view. Supports child views too.


#2

I didn’t actually use the plugin, but it’s the simplest demo out there for making automated breadcrumbs