0.0.0 • Published 3 years ago
vue-example-docgen-vite v0.0.0
vue-example-docgen-vite
This template should help get you started developing with docgen and VitePress.
It contains an example of a light integration with vue-live in docs/.vitepress/theme.
Using a markdown-it plugin, we will render each example with the suffix live into a vue-live component.
It also uses vue-component-meta instead of vue-docgen-api to parse vue components for props and events.
The integration is done here: docgen.config.js
Run both vitepress & docgen at the same time
yarn styleguidechain the steps
yarn styleguide:buildProject Setup
yarnCompile and Hot-Reload for Development
yarn devType-Check, Compile and Minify for Production
yarn buildGenerate the documentation pages for each component
yarn vue-docgenOpen vitepress in the browser
yarn vitepress open0.0.0
3 years ago