Build UI Component Library VUE

332 Views Asked by At

I’m creating a library of components with vue. The real question is how to create documentation. It is more correct to create a docs folder and then create a new project (for example in nuxt), or have only one package.json in the root and then instantiate in the docs folder a new createApp with vue? The components I create in the library text them directly in the creation of documentation?

1

There are 1 best solutions below

0
JD Solanki On

You can use VitePress to build docs for your component library.

You can refer to this GitHub repo for inspiration: Anu

Docs Demo: Anu