Appearance
BaklaVue Documentation
This directory contains the VitePress documentation site for BaklaVue.
Development
bash
# Install dependencies (from project root)
bun install
# Start development server
bun run docs:dev
# Build for production
bun run docs:build
# Preview production build
bun run docs:previewStructure
.vitepress/- VitePress configuration and themeguide/- Getting started guidescomponents/- Component documentationcomposables/- Composable documentationapi/- API referencerelease/- Release guide
Adding Documentation
Adding a Component Page
- Create a new markdown file in
components/ - Add it to the sidebar in
.vitepress/config.ts - Include examples, props, events, and slots documentation
Adding a Guide Page
- Create a new markdown file in
guide/ - Add it to the sidebar in
.vitepress/config.ts
Vue Components in Markdown
You can use Vue components directly in markdown files:
vue
<Button variant="primary">Click me</Button>Components are automatically imported from @baklavue/ui.
