vue-doxen
v0.12.1
Published
The world's best Vue.js component documentation tool!
Maintainers
Readme
vue-doxen
The world's best Vue.js component documentation tool!
- Designed specifically to work with Vue 3 components (exclusively)
- Fully customizable
- All CSS is optional
- Documentation lives in the component as code (or in separate object if preferred)
- Vue-Doxen is just a Vue component, so it works anywhere a Vue component would work.
- Generates at runtime, so always up-to-date
- Doesn't require adopting an entire ecosystem or installing tons of dependencies, just use what works with Vue and you're good.
Using the library
Go to the docs site for usage and installation steps:
- https://TheJaredWilcurt.com/vue-doxen
Running this repo locally to make PRs
- Uninstall Node/npm/nvm/nvm-windows/n/nodist
- Install Volta (replaces all of the above and is much better)
- Clone the repo
npm installnpm run buildbuilds both the docs site and librarynpm run lintchecks for linting errors
Project Structure
- Documentation site
npm startwill launch the app for local development- Code lives in
appfolder - Uses
vite.config.docs.js npm run buildwill producedocsfolder
- Library
- To manually test/develop the library use the docs site via
npm start - Code lives in the
libfolder - Uses
vite.config.lib.js npm run buildwill producedistfoldernpm truns unit tests for the library
- To manually test/develop the library use the docs site via
- DoxenLinter
- All linter related code exists int he
/lib/linterfolder. - Tests for the linter run via
npm t - The
doxenLinterfunction is an export of the library and included in the main build (npm run build)
- All linter related code exists int he
