Very simple Vue breadcrumbs in 40 lines of code


I’ve made a simple breadcrumbs component:


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.


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