CastleCMS内容管理系统CastleCMS内容管理系统
Guide
Components
Config
Changelog
⌘ K

Table of Contents

Usage
Overview

文档

我要开发
简易部署
模版制作

官方

GitHub
Gitee
更新日志

more products更多产品

knowledgeCastle知识库管理系统-企业知识大脑
CastleStudyCastleStudy学习考试系统-学习考试专家
CastleFlowCastleFlow工作流引擎-企业级工作流引擎
Copyright © 2022-2024
华创数字云
‌
‌
‌
‌

Theme Components

From a flexible development perspective, this theme package also provides several key components for theme developers to reuse quickly.

Currently available components are as follows:

ComponentDescriptionLink
HeroHeaderView
FeaturesFeaturesView
FooterFooterView
TocTable of ContentsView
DumiSiteProviderTheme container componentView

Usage

If you want to use the components provided by dumi-theme-antd-style independently, you need to manually wrap them with DumiSiteProvider, for example:

tsx

But if you are reusing components under dumi-theme-antd-style, you do not need to wrap them with DumiSiteProvider. The theme package will automatically wrap the document with DumiSiteProvider, as detailed in the source code.