This is the documentation website for @belyas/pubsub-mfe, built with VitePress.
pnpm installpnpm devThe site will be available at http://localhost:5173
pnpm buildOutput will be in .vitepress/dist
pnpm previewThis site uses VitePress's default theme with minimal customization for clean, professional documentation.
- Create a Markdown file in the appropriate directory
- Add frontmatter if needed:
---
title: Page Title
description: Page description for SEO
---
# Page Title
Content here...- Update
.vitepress/config.tssidebar configuration
VitePress supports Vue components:
<script setup>
import CustomComponent from './components/CustomComponent.vue'
</script>
<CustomComponent />Use syntax highlighting:
```typescript
const bus = createPubSub({ app: 'my-app' });
```::: tip
This is a tip
:::
::: warning
This is a warning
:::
::: danger
This is a dangerous warning
:::
::: info
This is an info box
:::VitePress includes built-in local search. No configuration needed!
The site is configured for GitHub Pages deployment at /. Update base in .vitepress/config.ts if deploying elsewhere:
export default defineConfig({
base: '/your-repo-name/', // Change this
// ...
})- vitepress: ^1.5.0 - Static site generator
- vue: ^3.5.13 - Required by VitePress
- gh-pages: ^6.2.0 - GitHub Pages deployment utility
To contribute to the documentation:
- Fork the repository
- Create a feature branch
- Make your changes
- Test locally with
pnpm dev - Submit a pull request
Apache-2.0 License - See LICENSE file for details