useThemeConfig #

当前路由的主题配置,语言自己的值盖在站点的值上面。

用法 #

TypeScript
import { 
useThemeConfig
} from 'kawapress/client'
const
theme
=
useThemeConfig
()
console
.
log
(
Object
.
keys
(
theme
.
value
))

返回值 主题配置。

完整类型签名
TypeScript
function useThemeConfig(): ComputedRef<Partial<ThemeConfig>>

编辑此页

评论