ant-design-vue/components/breadcrumb/demo/basic.md

34 lines
586 B
Markdown
Raw Normal View History

2018-03-09 05:26:34 +00:00
<cn>
#### 基本
最简单的用法
</cn>
<us>
#### Basic usage
The simplest use
</us>
```html
<template>
<Breadcrumb>
<BreadcrumbItem>Home</BreadcrumbItem>
<BreadcrumbItem><a href="">Application Center</a></BreadcrumbItem>
<BreadcrumbItem><a href="">Application List</a></BreadcrumbItem>
<BreadcrumbItem>An Application</BreadcrumbItem>
</Breadcrumb>
</template>
<script>
import '../style'
import { Icon, Breadcrumb } from 'antd/index'
export default {
components: {
Icon,
Breadcrumb,
BreadcrumbItem: Breadcrumb.Item,
},
}
</script>
```