@mtntop/breadcrumbs
v0.1.2
Published
## Usage example
Downloads
407
Keywords
Readme
Top Dashboard
Usage example
In main.js
:
import TopBreadcrumbs from '@mtntop/breadcrumbs';
Vue.use(TopBreadcrumbs);
Template:
<template>
<div class="container pt-3">
<breadcrumb
:items="{
Organizations: { path: `/organizations` },
Organization: {
path: `/organizations/${$route.params.organization_id}`,
},
Users: {
path: `/organizations/${$route.params.organization_id}/users`,
},
'John Doe': true,
}"
/>
</div>
</template>
<script>
export default {
name: 'App',
data() {
return {};
},
};
</script>