mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Refactor #5257
This commit is contained in:
parent
a9164bdbde
commit
dd84dbbb60
33 changed files with 82 additions and 44 deletions
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<nav :class="cx('root')" v-bind="ptm('root')">
|
||||
<nav :class="cx('root')" v-bind="ptmi('root')">
|
||||
<ol :class="cx('menu')" v-bind="ptm('menu')">
|
||||
<BreadcrumbItem v-if="home" :item="home" :class="cx('home')" :templates="$slots" :pt="pt" :unstyled="unstyled" v-bind="ptm('home')" />
|
||||
<template v-for="(item, i) of model" :key="item.label + '_' + i">
|
||||
|
@ -22,9 +22,10 @@ import BreadcrumbItem from './BreadcrumbItem.vue';
|
|||
export default {
|
||||
name: 'Breadcrumb',
|
||||
extends: BaseBreadcrumb,
|
||||
inheritAttrs: false,
|
||||
components: {
|
||||
BreadcrumbItem: BreadcrumbItem,
|
||||
ChevronRightIcon: ChevronRightIcon
|
||||
BreadcrumbItem,
|
||||
ChevronRightIcon
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue