halo icon indicating copy to clipboard operation
halo copied to clipboard

自定义 一个console 页面插件 怎么才能使用默认的公共的头部组件

Open Kimser opened this issue 11 months ago • 1 comments

你当前使用的版本

No response

描述一下此特性

自定义 一个console 页面插件 怎么才能使用默认的公共的头部组件

附加信息

No response

Kimser avatar Mar 17 '24 09:03 Kimser

如果是指这个:

image

那么目前是需要自己在页面中引入的,比如:

<script lang="ts" setup>
import { VPageHeader } from "@halo-dev/components"
</script>

<template>
	<VPageHeader title="文章">
	</VPageHeader>
</template>

后续可能会考虑在 Layout 组件中自动根据路由信息生成。

/kind support /area ui

ruibaby avatar Mar 20 '24 07:03 ruibaby

/close

ruibaby avatar Aug 26 '24 09:08 ruibaby

@ruibaby: Closing this issue.

In response to this:

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

f2c-ci-robot[bot] avatar Aug 26 '24 09:08 f2c-ci-robot[bot]