开箱即用,利用vuepress快速搭建自己的类element-ui的组件文档
The shotCat_doc is a tool built on top of vuepress that helps users quickly create their own component library documentation. It is inspired by the element-ui documentation and provides features such as component display, code display, live demo, API table display, document version switching, and comment support. It aims to help users quickly prototype their component documentation by providing pre-configured settings and an out-of-the-box experience.
To install the shotCat_doc theme, follow these steps:
git clone https://github.com/1011cat/shotCat_doc.git
cd shotCat_doc
npm install
(Note: It is recommended not to use cnpm
to install dependencies as it may cause various issues. Instead, use the following command to solve slow download speeds: npm install --registry=https://registry.npm.taobao.org
)npm run dev
http://localhost:6868
The shotCat_doc is a powerful tool for quickly building component library documentation using Vue.js and vuepress. It provides a user-friendly interface and a range of features such as component display, code display, live demos, API table display, and comment support. By following the installation guide and leveraging the pre-configured settings, users can easily create their own component documentation from scratch. The project also offers comprehensive documentation with line-by-line explanations and pitfall avoidance, making it a valuable resource for developers.