I am using vue to create a component library. The real question is how to create the document. Do I create a new project in the docs folder (like in nuxt) or just have a package.json in the root directory and instantiate a new createApp using vue in the docs folder? Do I test my components directly in the component library when creating documents?
You can useVitePressto build your component library document.
You can refer to this GitHub repository for inspiration:Anu
Documentation Demonstration:Anu