mirror of
https://github.com/element-plus/element-plus.git
synced 2025-04-24 17:00:59 +08:00
* feat(components): [page-header] enhancement * Add new slot `extra` for page header. * Add addtional documentations for page header. * chore: update doc * feat: add default slot * chore: add a11y support for back button * chore: update examples * chore: enhancements * chore: example enhancement * chore: restore previous actions for back button * chore: address PR comments Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
19 lines
546 B
Vue
19 lines
546 B
Vue
<template>
|
|
<el-page-header>
|
|
<template #breadcrumb>
|
|
<el-breadcrumb separator="/">
|
|
<el-breadcrumb-item :to="{ path: './page-header.html' }">
|
|
homepage
|
|
</el-breadcrumb-item>
|
|
<el-breadcrumb-item
|
|
><a href="./page-header.html">route 1</a></el-breadcrumb-item
|
|
>
|
|
<el-breadcrumb-item>route 2</el-breadcrumb-item>
|
|
</el-breadcrumb>
|
|
</template>
|
|
<template #content>
|
|
<span class="text-large font-600 mr-3"> Title </span>
|
|
</template>
|
|
</el-page-header>
|
|
</template>
|