What is Docz?
During React development, we often create many components. These components can be reused in other applications. Just like Material-UI creates a lot of components such as Buttons, Sliders etc. Docz is used to build and maintain cutom documentation sites.
Get Started
- add docz to an exisiting project
npm install docz,doczwill now appear inpackage.json. - add
docz: dev": "docz dev", docz:build": "docz build", "docz:serve": "docz build && docz serve"inpackage.jsonunderscriptsblock. - create a .mdx file anywhere in your project.
npm run docz:dev: this will build a documentation app folder named “.docz” under your root folder.