2022-09-09 20:41:18 +00:00
|
|
|
<template>
|
|
|
|
<div>
|
2022-12-19 11:57:07 +00:00
|
|
|
<Head>
|
|
|
|
<Title>Vue BreadCrumb Component</Title>
|
|
|
|
<Meta name="description" content="Breadcrumb provides contextual information about page hierarchy." />
|
|
|
|
</Head>
|
|
|
|
|
2022-09-09 20:41:18 +00:00
|
|
|
<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>
|