umijs / dumi

📖 Static Site Generator for component library development
https://d.umijs.org
MIT License
3.6k stars 1.18k forks source link

请问项目里的Tree是怎么支持的 markdown #594

Closed ChenYCL closed 3 years ago

ChenYCL commented 3 years ago

image

lbwa commented 3 years ago

直接在 markdown 里面写jsx,参考原始记录即可 https://raw.githubusercontent.com/umijs/dumi/master/docs/guide/basic.zh-CN.md

PeachScript commented 3 years ago

dumi 官网自定义了一个组件,后面会放入默认主题里:https://github.com/umijs/dumi/blob/9eedbf2824941f140abfd5753fe405e3e820af74/.dumi/theme/builtins/Tree.tsx

ChenYCL commented 3 years ago

原来如此,我是抽离这个项目的模版,主题是dumi搭建吧,多了多包 一键发包操作https://github.com/ant-design/pro-components

dumi啥时候能做一个这样的模版库就好了