用于组件开发场景的 VuePress 的插件和主题。
The Vmi is a plugin collection for VuePress, designed for component development scenarios. It aims to provide a similar demo experience to Dumi while retaining the powerful documentation writing capabilities of VuePress. It features a powerful demo display ability with support for multiple display modes. It also supports page path mapping and customization of component documentation organization. Additionally, it supports translation for missing content and generates pages for missing languages. The theme’s style layout is synchronized, although it is still in the process of improvement.
To install Vmi, you need to have VuePress v2.0.0-beta.60 installed. Once you have VuePress installed, you can follow these steps:
npm install -D vmi
.vuepress/vmi.js file with the following content:module.exports = {
plugins: ['vmi'],
}
.vuepress/config.js file, enable the Vmi plugin:module.exports = {
plugins: [
'vmi'
]
}
Vmi is a plugin collection for VuePress, specifically designed for component development scenarios. It enhances the demo display capabilities of VuePress while maintaining its powerful documentation writing features. With support for various display modes, page path mapping, translation, and synchronized theme style layout, Vmi provides a comprehensive solution for component documentation.