2020-08-13 11:47:56 +08:00
|
|
|
<template>
|
|
|
|
<article>
|
|
|
|
<veui-breadcrumb :routes="routes">
|
|
|
|
<template #separator>
|
|
|
|
-
|
|
|
|
</template>
|
|
|
|
</veui-breadcrumb>
|
|
|
|
<veui-breadcrumb :routes="routes">
|
|
|
|
<template #separator>
|
|
|
|
<veui-icon name="arrow-right"/>
|
|
|
|
</template>
|
|
|
|
</veui-breadcrumb>
|
|
|
|
</article>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import { Breadcrumb, Icon } from 'veui'
|
|
|
|
import 'veui-theme-dls-icons/arrow-right'
|
|
|
|
|
|
|
|
export default {
|
|
|
|
components: {
|
|
|
|
'veui-breadcrumb': Breadcrumb,
|
|
|
|
'veui-icon': Icon
|
|
|
|
},
|
|
|
|
data () {
|
|
|
|
return {
|
|
|
|
routes: [
|
|
|
|
{
|
|
|
|
to: './breadcrumb',
|
|
|
|
label: 'Home'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
to: './breadcrumb',
|
|
|
|
label: 'Components'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Breadcrumb'
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
2021-09-15 20:03:51 +08:00
|
|
|
<style lang="less" scoped>
|
2020-08-13 11:47:56 +08:00
|
|
|
.veui-breadcrumb:first-child {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
</style>
|