primevue-mirror/pages/breadcrumb/index.vue

36 lines
953 B
Vue
Raw Normal View History

2022-09-09 20:41:18 +00:00
<template>
<div>
<div class="content-section introduction">
<div class="feature-intro">
<h1>Breadcrumb</h1>
<p>Breadcrumb provides contextual information about page hierarchy.</p>
</div>
<AppDemoActions />
</div>
<div class="content-section implementation">
<div class="card">
2022-12-08 12:26:57 +00:00
<Breadcrumb :home="home" :model="items" aria-label="breadcrumb" />
2022-09-09 20:41:18 +00:00
</div>
</div>
<BreadcrumbDoc />
</div>
</template>
<script>
import BreadcrumbDoc from './BreadcrumbDoc';
export default {
data() {
return {
home: { icon: 'pi pi-home', to: '/' },
2022-12-08 12:26:57 +00:00
items: [{ label: 'Computer' }, { label: 'Notebook' }, { label: 'Accessories' }, { label: 'Backpacks' }, { label: 'Item', to: '/breadcrumb' }]
2022-09-09 20:41:18 +00:00
};
},
components: {
BreadcrumbDoc: BreadcrumbDoc
}
};
</script>