
dumi - 为组件研发而生的静态站点框架
通过拆分路由概念、简化路由配置等方式,让路由生成一改 dumi 1.x 的怪异、繁琐,更加符合直觉
什么是 dumi
dumi,中文发音嘟米,是一款为组件开发场景而生的静态站点框架,与 father 一起为开发者提供一站式的组件开发体验,father 负责组件源码构建,而 dumi 负责组件开发及组件文档生成。
Introducation - dumi
2023年3月27日 · What's dumi? dumi, pronounced like [duːmɪ], is a documentation tool for developing libraries. It can provide one-stop component development experience for developer with father , in which father for building and dumi for component development & writting docs .
Basic - dumi
2023年3月27日 · dumi has a very important principle: developers should use components like users. How to explain? If we are developing a library called hello-dumi , and we are wrting a demo for Button component in it, the following are examples of the correct way and errors:
dumi - A doc tool can assist you to develop libraries & write docs.
dumi. 📖 A doc tool can assist you to develop libraries & write docs. Getting Started. Out of the box. Elegant default configrations and convention routing assist developers to get started as simple as possible, that focus all attentions on developing libraries & writting docs.
FAQ - dumi
2023年3月27日 · The dumi actually is a preset of Umi —— @umijs/preset-dumi, which means that we can use dumi in a Umi project at the same time. However, in order to avoid conflicts between the configurations of the Umi project and the dumi document, it is recommended to use UMI_ENV to distinguish.
介绍 - dumi
dumi,中文发音嘟米,是一款为组件开发场景而生的文档工具,与 father 一起为开发者提供一站式的组件开发体验,father 负责构建,而 dumi 负责组件开发及组件文档生成。
Advanced - dumi
Built separately: If you want to build a document separately for deployment, you can execute umi build --dumi to get a dumi site product in non-integrated mode. --dumi is also available under the umi dev command; The usage is very simple:
如何工作 - UmiJS
dumi 是基于 Umi 打造的静态站点框架,所以同时也继承了 Umi 强大的插件机制,并在之上做了扩展,以满足更多的场景需求。 基于 dumi 的插件机制,你可以获得扩展项目的编译时和运行时的能力。
Config - dumi
2023年3月27日 · Configure the document directory for dumi sniffing. Dumi will try to recursively find markdown files in the configured directory. The default values are the docs directory and the src directory (common projects).