Repository: enzonotario/vitepress-openapi
Pull request #156 (2025-01-17 23:05:39)

change!: split entry points into client / node
<!-- Provide a general summary of your changes in the title above. -->

# Description
<!--

Split entries into client / node

## Related issues/external references


## Types of changes

- Breaking change 


vercel[bot]: [vc]: #AvhnHBHkfJKww9LTJzObfjgd9/Pt2js4hmrsLWE6Q4I=:eyJpc01vbm9yZXBvIjp0cnVlLCJ0eXBlIjoiZ2l0aHViIiwicHJvamVjdHMiOlt7Im5hbWUiOiJ2aXRlcHJlc3Mtb3BlbmFwaSIsImluc3BlY3RvclVybCI6Imh0dHBzOi8vdmVyY2VsLmNvbS9lbnpvLW5vdGFyaW9zLXByb2plY3RzL3ZpdGVwcmVzcy1vcGVuYXBpLzY2Z3hFUWV6bm9VbnFDOEtWTDlxOWdMQlZFYlEiLCJwcmV2aWV3VXJsIjoidml0ZXByZXNzLW9wZW5hcGktZ2l0LWZlYXR1cmUtY2xpLTIyY2UzNC1lbnpvLW5vdGFyaW9zLXByb2plY3RzLnZlcmNlbC5hcHAiLCJuZXh0Q29tbWl0U3RhdHVzIjoiUEVORElORyIsImxpdmVGZWVkYmFjayI6eyJyZXNvbHZlZCI6MCwidW5yZXNvbHZlZCI6MCwidG90YWwiOjAsImxpbmsiOiJ2aXRlcHJlc3Mtb3BlbmFwaS1naXQtZmVhdHVyZS1jbGktMjJjZTM0LWVuem8tbm90YXJpb3MtcHJvamVjdHMudmVyY2VsLmFwcCJ9fV19
**The latest updates on your projects**. Learn more about [Vercel for Git ↗︎](https://vercel.link/github-learn-more)

| Name | Status | Preview | Comments | Updated (UTC) |
| :--- | :----- | :------ | :------- | :------ |
| **vitepress-openapi** | 🔄 Building ([Inspect](https://vercel.com/enzo-notarios-projects/vitepress-openapi/66gxEQeznoUnqC8KVL9q9gLBVEbQ)) | [Visit Preview](https://vitepress-openapi-git-feature-cli-22ce34-enzo-notarios-projects.vercel.app) | 💬 [**Add feedback**](https://vercel.live/open-feedback/vitepress-openapi-git-feature-cli-22ce34-enzo-notarios-projects.vercel.app?via=pr-comment-feedback-link) | Jan 17, 2025 11:05pm |


coderabbitai[bot]: <!-- This is an auto-generated comment: summarize by coderabbit.ai -->
<!-- This is an auto-generated comment: review in progress by coderabbit.ai -->

> [!NOTE]
> Currently processing new changes in this PR. This may take a few minutes, please wait...
> 
> <details>
> <summary>📥 Commits</summary>
> 
> Reviewing files that changed from the base of the PR and between 5a9bfcef9c37efc79da98cc444728949cf76071c and d35a75ecfd0df11de0367d67aef62ca2da7dd905.
> 
> </details>
> 
> <details>
> <summary>📒 Files selected for processing (27)</summary>
> 
> * `docs/.vitepress/config.mts` (1 hunks)
> * `docs/.vitepress/theme/components/sandbox/Sandbox.vue` (1 hunks)
> * `docs/.vitepress/theme/components/theme/ThemeConfig.vue` (1 hunks)
> * `docs/.vitepress/theme/components/theme/ThemeConfigPopover.vue` (0 hunks)
> * `docs/.vitepress/theme/index.ts` (1 hunks)
> * `docs/composables/usePlayground.md` (1 hunks)
> * `docs/composables/useTheme.md` (1 hunks)
> * `docs/customizations/i18n.md` (2 hunks)
> * `docs/customizations/operation-badges.md` (1 hunks)
> * `docs/customizations/parts/code-samples-example.md` (1 hunks)
> * `docs/customizations/parts/operation-badges-example.md` (1 hunks)
> * `docs/customizations/parts/operation-tags-slot-example.md` (1 hunks)
> * `docs/examples/[exampleSlug].md` (1 hunks)
> * `docs/guide/getting-started.md` (7 hunks)
> * `docs/sidebar/sidebar-items.md` (3 hunks)
> * `docs/tests/[testSlug].md` (1 hunks)
> * `package.json` (1 hunks)
> * `src/client.ts` (1 hunks)
> * `src/composables/useOpenapi.ts` (1 hunks)
> * `src/composables/usePaths.ts` (1 hunks)
> * `src/composables/useSidebar.ts` (7 hunks)
> * `src/index.ts` (0 hunks)
> * `src/lib/createOpenApiInstance.ts` (1 hunks)
> * `src/lib/prepareOpenAPI/generateMissingTags.ts` (2 hunks)
> * `src/lib/prepareOpenAPI/prepareOpenAPI.ts` (2 hunks)
> * `test/lib/prepareOpenAPI/generateMissingTags.test.ts` (5 hunks)
> * `vite.config.ts` (1 hunks)
> 
> </details>
> 
> ```ascii
>  _________________________________________________
> < PhD, MSc, BSc, and a black belt in code review. >
>  -------------------------------------------------
>   \
>    \   (\__/)
>        (•ㅅ•)
>        / 　 づ
> ```

<!-- end of auto-generated comment: review in progress by coderabbit.ai -->

<!-- usage_tips_start -->

> [!TIP]
> <details>
> <summary>You can generate walkthrough in a markdown collapsible section to save space.</summary>
> 
> Enable the `reviews.collapse_walkthrough` setting in your project's settings in CodeRabbit to generate walkthrough in a markdown collapsible section.
> 
> </details>

<!-- usage_tips_end -->
<!-- tips_start -->

---

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

<details>
<summary>❤️ Share</summary>

- [X](https://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai)
- [Mastodon](https://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai)
- [Reddit](https://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai)
- [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code)

</details>

<details>
<summary>🪧 Tips</summary>

### Chat

There are 3 ways to chat with [CodeRabbit](https://coderabbit.ai):

- Review comments: Directly reply to a review comment made by CodeRabbit. Example:
  - `I pushed a fix in commit <commit_id>, please review it.`
  - `Generate unit testing code for this file.`
  - `Open a follow-up GitHub issue for this discussion.`
- Files and specific lines of code (under the "Files changed" tab): Tag `@coderabbitai` in a new review comment at the desired location with your query. Examples:
  - `@coderabbitai generate unit testing code for this file.`
  -	`@coderabbitai modularize this function.`
- PR comments: Tag `@coderabbitai` in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
  - `@coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.`
  - `@coderabbitai read src/utils.ts and generate unit testing code.`
  - `@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.`
  - `@coderabbitai help me debug CodeRabbit configuration file.`

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

### CodeRabbit Commands (Invoked using PR comments)

- `@coderabbitai pause` to pause the reviews on a PR.
- `@coderabbitai resume` to resume the paused reviews.
- `@coderabbitai review` to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
- `@coderabbitai full review` to do a full review from scratch and review all the files again.
- `@coderabbitai summary` to regenerate the summary of the PR.
- `@coderabbitai generate docstrings` to [generate docstrings](https://docs.coderabbit.ai/finishing-touches/docstrings) for this PR. ([Beta](https://docs.coderabbit.ai/early-access#beta))
- `@coderabbitai resolve` resolve all the CodeRabbit review comments.
- `@coderabbitai configuration` to show the current CodeRabbit configuration for the repository.
- `@coderabbitai help` to get help.

### Other keywords and placeholders

- Add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed.
- Add `@coderabbitai summary` to generate the high-level summary at a specific location in the PR description.
- Add `@coderabbitai` anywhere in the PR title to generate the title automatically.

### CodeRabbit Configuration File (`.coderabbit.yaml`)

- You can programmatically configure CodeRabbit by adding a `.coderabbit.yaml` file to the root of your repository.
- Please see the [configuration documentation](https://docs.coderabbit.ai/guides/configure-coderabbit) for more information.
- If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: `# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json`

### Documentation and Community

- Visit our [Documentation](https://docs.coderabbit.ai) for detailed information on how to use CodeRabbit.
- Join our [Discord Community](http://discord.gg/coderabbit) to get help, request features, and share feedback.
- Follow us on [X/Twitter](https://twitter.com/coderabbitai) for updates and announcements.

</details>

<!-- tips_end -->
pkg-pr-new[bot]: 
[Open in Stackblitz](https://pkg.pr.new/template/73cc99ec-47f3-47ab-8c77-35d86e5d7c81)


```
npm i https://pkg.pr.new/vitepress-openapi@156
```


_commit: <a href="https://github.com/enzonotario/vitepress-openapi/runs/35803505041"><code>d35a75e</code></a>_


Patch:
diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts
index d36bd36..1db7170 100644
--- a/docs/.vitepress/config.mts
+++ b/docs/.vitepress/config.mts
@@ -1,8 +1,7 @@
-import { resolve } from 'node:path'
 import { useSidebar } from 'vitepress-openapi'
+import { defineConfigWithTheme } from 'vitepress'
 import spec from '../public/openapi.json' assert { type: 'json' }
 import { examplesPages } from '../pages'
-import { defineConfigWithTheme } from 'vitepress'
 
 const sidebar = useSidebar({
   spec,
@@ -235,11 +234,4 @@ export default defineConfigWithTheme({
       gtag('config', '${gaId}');`,
     ],
   ],
-  vite: {
-    resolve: {
-      alias: {
-        'vitepress-openapi': process.env.NODE_ENV === 'production' ? resolve(__dirname, '../../') : resolve(__dirname, '../../src/'),
-      },
-    },
-  },
 })
diff --git a/docs/.vitepress/theme/components/sandbox/Sandbox.vue b/docs/.vitepress/theme/components/sandbox/Sandbox.vue
index d1954dd..897d8ad 100644
--- a/docs/.vitepress/theme/components/sandbox/Sandbox.vue
+++ b/docs/.vitepress/theme/components/sandbox/Sandbox.vue
@@ -1,8 +1,9 @@
 <script setup lang="ts">
 import { provide, watch } from 'vue'
 import { compressToURL, decompressFromURL } from '@amoutonbrady/lz-string'
-import { useTheme } from 'vitepress-openapi'
+import { useTheme } from 'vitepress-openapi/client'
 import { useUrlSearchParams } from '@vueuse/core'
+import { useData } from 'vitepress'
 import { ResizableHandle, ResizablePanel, ResizablePanelGroup } from '../ui/resizable'
 import { deepUnref } from '../../../../../src/lib/deepUnref'
 import Toaster from '../ui/toast/Toaster.vue'
@@ -13,7 +14,6 @@ import SandboxPreview from './SandboxPreview.vue'
 import SandboxNav from './SandboxNav.vue'
 import SandboxEditor from './SandboxEditor.vue'
 import SandboxRemoteFetch from './SandboxRemoteFetch.vue'
-import { useData } from 'vitepress'
 
 const { isDark, hash } = useData()
 
diff --git a/docs/.vitepress/theme/components/sandbox/SandboxEditor.vue b/docs/.vitepress/theme/components/sandbox/SandboxEditor.vue
index da92169..1e8bc43 100644
--- a/docs/.vitepress/theme/components/sandbox/SandboxEditor.vue
+++ b/docs/.vitepress/theme/components/sandbox/SandboxEditor.vue
@@ -1,8 +1,8 @@
 <script setup lang="ts">
 import JsonEditorVue from 'json-editor-vue'
 import { inject, nextTick, ref, watch, watchEffect } from 'vue'
-import type { SandboxData } from '../../sandboxData'
 import { useData } from 'vitepress'
+import type { SandboxData } from '../../sandboxData'
 
 const { isDark } = useData()
 
diff --git a/docs/.vitepress/theme/components/sandbox/SandboxPreview.vue b/docs/.vitepress/theme/components/sandbox/SandboxPreview.vue
index fe4290c..e54ed51 100644
--- a/docs/.vitepress/theme/components/sandbox/SandboxPreview.vue
+++ b/docs/.vitepress/theme/components/sandbox/SandboxPreview.vue
@@ -1,12 +1,12 @@
 <script setup lang="ts">
 import { VPHomeContent } from 'vitepress/theme'
 import { inject, onMounted, watch } from 'vue'
+import { useData } from 'vitepress'
+import { getHeaders } from 'vitepress/dist/client/theme-default/composables/outline.js'
 import { scrollIntoOperationByOperationId } from '../../../../../src/lib/utils'
 import VPDocAsideOutline from '../vitepress/VPDocAsideOutline.vue'
 import type { SandboxData } from '../../sandboxData'
 import SandboxPreviewSidebar from './SandboxPreviewSidebar.vue'
-import { useData } from 'vitepress'
-import { getHeaders } from 'vitepress/dist/client/theme-default/composables/outline.js'
 
 const { isDark, theme, page } = useData()
 
diff --git a/docs/.vitepress/theme/components/sandbox/SandboxPreviewSidebar.vue b/docs/.vitepress/theme/components/sandbox/SandboxPreviewSidebar.vue
index 837c33f..61dc1d2 100644
--- a/docs/.vitepress/theme/components/sandbox/SandboxPreviewSidebar.vue
+++ b/docs/.vitepress/theme/components/sandbox/SandboxPreviewSidebar.vue
@@ -1,10 +1,10 @@
 <script setup lang="ts">
 import { inject, onBeforeMount, onMounted, ref, watch } from 'vue'
 import { useSidebar } from 'vitepress-openapi'
-import type { SandboxData } from '../../sandboxData'
 import { useData } from 'vitepress'
 import VPSidebar from 'vitepress/dist/client/theme-default/components/VPSidebar.vue'
 import { getHeaders } from 'vitepress/dist/client/theme-default/composables/outline.js'
+import type { SandboxData } from '../../sandboxData'
 
 const { theme } = useData()
 
diff --git a/docs/.vitepress/theme/components/theme/ThemeConfig.vue b/docs/.vitepress/theme/components/theme/ThemeConfig.vue
index 37a0028..767167a 100644
--- a/docs/.vitepress/theme/components/theme/ThemeConfig.vue
+++ b/docs/.vitepress/theme/components/theme/ThemeConfig.vue
@@ -1,7 +1,6 @@
 <script setup lang="ts">
-import { useTheme } from 'vitepress-openapi'
+import { DEFAULT_OPERATION_SLOTS, useTheme } from 'vitepress-openapi/client'
 import { inject } from 'vue'
-import { DEFAULT_OPERATION_SLOTS } from '../../../../../src'
 import type { SandboxData } from '../../sandboxData'
 
 const sandboxData = inject('sandboxData') as SandboxData
diff --git a/docs/.vitepress/theme/components/theme/ThemeConfigPopover.vue b/docs/.vitepress/theme/components/theme/ThemeConfigPopover.vue
index 360c14f..f64a136 100644
--- a/docs/.vitepress/theme/components/theme/ThemeConfigPopover.vue
+++ b/docs/.vitepress/theme/components/theme/ThemeConfigPopover.vue
@@ -1,13 +1,9 @@
 <script setup lang="ts">
-import { inject } from 'vue'
 import { Icon } from '@iconify/vue'
 import { useToggle } from '@vueuse/core'
 import { Popover, PopoverContent, PopoverTrigger } from '../ui/popover'
-import type { SandboxData } from '../../sandboxData'
 import ThemeConfig from './ThemeConfig.vue'
 
-const sandboxData = inject('sandboxData') as SandboxData
-
 const [isOpen, toggleOpen] = useToggle(false)
 </script>
 
diff --git a/docs/.vitepress/theme/components/vitepress/VPDocAsideOutline.vue b/docs/.vitepress/theme/components/vitepress/VPDocAsideOutline.vue
index ad158cd..38618f6 100644
--- a/docs/.vitepress/theme/components/vitepress/VPDocAsideOutline.vue
+++ b/docs/.vitepress/theme/components/vitepress/VPDocAsideOutline.vue
@@ -1,6 +1,5 @@
 <script setup lang="ts">
 import { inject, ref, watch } from 'vue'
-import type { SandboxData } from '../../sandboxData'
 import { useData } from 'vitepress'
 import {
   getHeaders,
@@ -8,6 +7,7 @@ import {
   useActiveAnchor,
 } from 'vitepress/dist/client/theme-default/composables/outline.js'
 import VPDocOutlineItem from 'vitepress/dist/client/theme-default/components/VPDocOutlineItem.vue'
+import type { SandboxData } from '../../sandboxData'
 
 const { theme } = useData()
 
diff --git a/docs/.vitepress/theme/components/vitepress/VPSwitchAppearance.vue b/docs/.vitepress/theme/components/vitepress/VPSwitchAppearance.vue
index b95537c..704b3f4 100644
--- a/docs/.vitepress/theme/components/vitepress/VPSwitchAppearance.vue
+++ b/docs/.vitepress/theme/components/vitepress/VPSwitchAppearance.vue
@@ -1,7 +1,7 @@
 <script lang="ts" setup>
 import { inject, ref, watchPostEffect } from 'vue'
-import VPSwitch from './VPSwitch.vue'
 import { useData } from 'vitepress'
+import VPSwitch from './VPSwitch.vue'
 
 const { isDark, theme } = useData()
 
diff --git a/docs/.vitepress/theme/index.ts b/docs/.vitepress/theme/index.ts
index 92be26c..3de802e 100644
--- a/docs/.vitepress/theme/index.ts
+++ b/docs/.vitepress/theme/index.ts
@@ -1,8 +1,10 @@
-import { theme, useOpenapi } from 'vitepress-openapi'
+import { theme, useOpenapi } from 'vitepress-openapi/client'
 import DefaultTheme from 'vitepress/theme'
 import spec from '../../public/openapi.json' assert {type: 'json'}
 import ExampleBlock from './components/ExampleBlock.vue'
 import SandboxIframe from './components/sandbox/SandboxIframe.vue'
+import 'vitepress-openapi/dist/style.css'
+import './style.css'
 
 export default {
   extends: DefaultTheme,
diff --git a/docs/.vitepress/theme/style.css b/docs/.vitepress/theme/style.css
new file mode 100644
index 0000000..b5c61c9
--- /dev/null
+++ b/docs/.vitepress/theme/style.css
@@ -0,0 +1,3 @@
+@tailwind base;
+@tailwind components;
+@tailwind utilities;
diff --git a/docs/composables/usePlayground.md b/docs/composables/usePlayground.md
index da760a7..b99a011 100644
--- a/docs/composables/usePlayground.md
+++ b/docs/composables/usePlayground.md
@@ -5,7 +5,7 @@ The `usePlayground` composable provides functions to manage the Playground.
 You can use the `usePlayground` composable to configure the Playground in your `.vitepress/theme/index.js` file, or in any `.md` page/file.
 
 ```ts
-import { usePlayground } from 'vitepress-openapi'
+import { usePlayground } from 'vitepress-openapi/client'
 
 export default {
     async enhanceApp({ app, router, siteData }) {
diff --git a/docs/composables/useTheme.md b/docs/composables/useTheme.md
index 0fe6d69..7b59090 100644
--- a/docs/composables/useTheme.md
+++ b/docs/composables/useTheme.md
@@ -5,7 +5,7 @@ The `useTheme` composable provides functions to configure the theme.
 You can use the `useTheme` composable to configure the theme in your `.vitepress/theme/index.js` file, or in any `.md` page/file.
 
 ```ts
-import { useTheme, locales } from 'vitepress-openapi'
+import { useTheme, locales } from 'vitepress-openapi/client'
 
 export default {
     async enhanceApp({app, router, siteData}) {
diff --git a/docs/customizations/i18n.md b/docs/customizations/i18n.md
index 0df941b..fdcbc4e 100644
--- a/docs/customizations/i18n.md
+++ b/docs/customizations/i18n.md
@@ -9,7 +9,7 @@ You can use the `useTheme` composable to configure internationalization in your
 
 ```vue
 <script setup lang="ts">
-import { useTheme, locales } from 'vitepress-openapi'
+import { useTheme, locales } from 'vitepress-openapi/client'
 
 useTheme({
   i18n: {
@@ -44,7 +44,7 @@ If you're using the built-in VitePress i18n features, you can configure the loca
 
 ```vue
 <script setup lang="ts">
-import { useTheme } from 'vitepress-openapi'
+import { useTheme } from 'vitepress-openapi/client'
 import { useData } from 'vitepress'
 
 const { lang } = useData()
diff --git a/docs/customizations/operation-badges.md b/docs/customizations/operation-badges.md
index 76c0d80..72e4e97 100644
--- a/docs/customizations/operation-badges.md
+++ b/docs/customizations/operation-badges.md
@@ -41,7 +41,7 @@ title: vitepress-openapi
 You can also customize the prefix of the badges by setting the `operation.badgePrefix.{badgeName}` key in the i18n messages. For example, in your `.vitepress/theme/index.ts`, before calling `theme.enhanceApp({ app })`, you can set the following:
 
 ```typescript
-import { locales, theme, useTheme } from 'vitepress-openapi'
+import { locales, theme, useTheme } from 'vitepress-openapi/client'
 import DefaultTheme from 'vitepress/theme'
 import 'vitepress-openapi/dist/style.css'
 
diff --git a/docs/customizations/parts/code-samples-example.md b/docs/customizations/parts/code-samples-example.md
index 1d4d995..eb5ebcc 100644
--- a/docs/customizations/parts/code-samples-example.md
+++ b/docs/customizations/parts/code-samples-example.md
@@ -1,6 +1,6 @@
 <script setup lang="ts">
 import { useData } from 'vitepress'
-import { useTheme, generateCodeSample } from 'vitepress-openapi'
+import { useTheme, generateCodeSample } from 'vitepress-openapi/client'
 
 const { isDark } = useData()
 
diff --git a/docs/customizations/parts/operation-badges-example.md b/docs/customizations/parts/operation-badges-example.md
index 90d9a07..f21d7a1 100644
--- a/docs/customizations/parts/operation-badges-example.md
+++ b/docs/customizations/parts/operation-badges-example.md
@@ -1,6 +1,6 @@
 <script setup lang="ts">
 import { useData } from 'vitepress'
-import { useTheme } from 'vitepress-openapi'
+import { useTheme } from 'vitepress-openapi/client'
 
 const { isDark } = useData()
 
diff --git a/docs/customizations/parts/operation-tags-slot-example.md b/docs/customizations/parts/operation-tags-slot-example.md
index 1cc65b6..53826d8 100644
--- a/docs/customizations/parts/operation-tags-slot-example.md
+++ b/docs/customizations/parts/operation-tags-slot-example.md
@@ -1,6 +1,6 @@
 <script setup lang="ts">
 import { useData } from 'vitepress'
-import { DEFAULT_OPERATION_SLOTS, useTheme } from 'vitepress-openapi'
+import { DEFAULT_OPERATION_SLOTS, useTheme } from 'vitepress-openapi/client'
 
 const { isDark } = useData()
 
diff --git a/docs/examples/[exampleSlug].md b/docs/examples/[exampleSlug].md
index e98076d..80abdba 100644
--- a/docs/examples/[exampleSlug].md
+++ b/docs/examples/[exampleSlug].md
@@ -7,7 +7,7 @@ title: vitepress-openapi
 <script setup lang="ts">
 import { onBeforeMount, onBeforeUnmount } from 'vue'
 import { useRoute, useData } from 'vitepress'
-import { useTheme } from 'vitepress-openapi'
+import { useTheme } from 'vitepress-openapi/client'
 
 const route = useRoute()
 
diff --git a/docs/guide/getting-started.md b/docs/guide/getting-started.md
index 5b519b3..8bc0e8f 100644
--- a/docs/guide/getting-started.md
+++ b/docs/guide/getting-started.md
@@ -58,7 +58,7 @@ In your `.vitepress/theme/index.[js,ts]`, import the theme and the CSS file.
 ```js [JavaScript]
 // .vitepress/theme/index.js
 import DefaultTheme from 'vitepress/theme'
-import { theme } from 'vitepress-openapi' // [!code ++]
+import { theme } from 'vitepress-openapi/client' // [!code ++]
 import 'vitepress-openapi/dist/style.css' // [!code ++]
 
 export default {
@@ -73,7 +73,7 @@ export default {
 // .vitepress/theme/index.ts
 import DefaultTheme from 'vitepress/theme'
 import type { Theme } from 'vitepress'
-import { theme } from 'vitepress-openapi' // [!code ++]
+import { theme } from 'vitepress-openapi/client' // [!code ++]
 import 'vitepress-openapi/dist/style.css' // [!code ++]
 
 export default {
@@ -101,8 +101,8 @@ In your `.vitepress/theme/index.[js,ts]` file, import the OpenAPI specification
 ```js [JavaScript]
 // .vitepress/theme/index.js
 import DefaultTheme from 'vitepress/theme'
-import { theme } from 'vitepress-openapi' // [!code --]
-import { theme, useOpenapi } from 'vitepress-openapi' // [!code ++]
+import { theme } from 'vitepress-openapi/client' // [!code --]
+import { theme, useOpenapi } from 'vitepress-openapi/client' // [!code ++]
 import 'vitepress-openapi/dist/style.css'
     
 import spec from '../../public/openapi.json' // [!code ++]
@@ -126,8 +126,8 @@ export default {
 // .vitepress/theme/index.ts
 import DefaultTheme from 'vitepress/theme'
 import type { Theme } from 'vitepress'
-import { theme } from 'vitepress-openapi' // [!code --]
-import { theme, useOpenapi } from 'vitepress-openapi'// [!code ++]
+import { theme } from 'vitepress-openapi/client' // [!code --]
+import { theme, useOpenapi } from 'vitepress-openapi/client'// [!code ++]
 import 'vitepress-openapi/dist/style.css'
 
 import spec from '../../public/openapi.json' assert { type: 'json' } // [!code ++]
@@ -216,7 +216,7 @@ If you are using `useOpenapi` in your `.vitepress/theme/index.[js,ts]` file, you
 ```js [JavaScript]
 // .vitepress/theme/index.js
 import DefaultTheme from 'vitepress/theme'
-import { theme, useOpenapi } from 'vitepress-openapi'
+import { theme, useOpenapi } from 'vitepress-openapi/client'
 import 'vitepress-openapi/dist/style.css'
     
 import spec from '../../public/openapi.json'
@@ -283,7 +283,7 @@ title: vitepress-openapi
 
 <script setup>
 import { useData } from 'vitepress'
-import { useTheme } from 'vitepress-openapi' // [!code ++]
+import { useTheme } from 'vitepress-openapi/client' // [!code ++]
 import spec from '../public/openapi.json'
 
 const { isDark } = useData()
@@ -305,7 +305,7 @@ title: vitepress-openapi
 
 <script setup>
 import { useRoute, useData } from 'vitepress'
-import { useTheme } from 'vitepress-openapi' // [!code ++]
+import { useTheme } from 'vitepress-openapi/client' // [!code ++]
 import spec from '../public/openapi.json'
 
 const route = useRoute()
diff --git a/docs/package.json b/docs/package.json
new file mode 100644
index 0000000..aba2f93
--- /dev/null
+++ b/docs/package.json
@@ -0,0 +1,41 @@
+{
+  "name": "vitepress-openapi-docs",
+  "version": "0.0.0",
+  "type": "module",
+  "private": true,
+  "scripts": {
+    "dev": "vitepress dev",
+    "build": "vitepress build",
+    "serve": "vitepress serve"
+  },
+  "dependencies": {
+    "@vueuse/core": "^10.11.0",
+    "class-variance-authority": "^0.7.0",
+    "clsx": "^2.1.1",
+    "lucide-vue-next": "^0.411.0",
+    "radix-vue": "^1.9.1",
+    "tailwind-merge": "^2.4.0",
+    "tailwindcss-animate": "^1.0.7",
+    "vitepress-openapi": "workspace:*"
+  },
+  "devDependencies": {
+    "@amoutonbrady/lz-string": "^0.1.0",
+    "@antfu/eslint-config": "^2.27.1",
+    "@iconify/vue": "^4.2.0",
+    "@types/node": "^22.5.1",
+    "@vitejs/plugin-vue": "^5.1.3",
+    "autoprefixer": "^10.4.20",
+    "eslint": "^9.9.1",
+    "eslint-plugin-cypress": "^3.5.0",
+    "eslint-plugin-format": "^0.1.2",
+    "postcss": "^8.4.42",
+    "tailwindcss": "^3.4.10",
+    "vite": "^5.4.2",
+    "vitepress": "^1.4.1",
+    "vitest": "^2.0.5",
+    "vue": "^3.4.38"
+  },
+  "resolutions": {
+    "@typescript-eslint/utils": "^8.2.0"
+  }
+}
diff --git a/docs/pages.ts b/docs/pages.ts
index 4cb4021..339df42 100644
--- a/docs/pages.ts
+++ b/docs/pages.ts
@@ -1,27 +1,27 @@
 export const testsPages = [
   {
     slug: 'response-types',
-    specPath: './docs/public/openapi-response-types.json',
+    specPath: './public/openapi-response-types.json',
     themeConfig: {},
   },
   {
     slug: 'response-statuses',
-    specPath: './docs/public/openapi-response-statuses.json',
+    specPath: './public/openapi-response-statuses.json',
     themeConfig: {},
   },
   {
     slug: 'schemas',
-    specPath: './docs/public/openapi-schemas.json',
+    specPath: './public/openapi-schemas.json',
     themeConfig: {},
   },
   {
     slug: 'parameters',
-    specPath: './docs/public/openapi-parameters.json',
+    specPath: './public/openapi-parameters.json',
     themeConfig: {},
   },
   {
     slug: 'security',
-    specPath: './docs/public/openapi-security.json',
+    specPath: './public/openapi-security.json',
     themeConfig: {},
   },
 ]
diff --git a/docs/sidebar/sidebar-items.md b/docs/sidebar/sidebar-items.md
index e483d8f..7977577 100644
--- a/docs/sidebar/sidebar-items.md
+++ b/docs/sidebar/sidebar-items.md
@@ -20,7 +20,7 @@ The `useSidebar` composable provides functions to generate sidebar items based o
 To generate sidebar items grouped by tags, you can use the `generateSidebarGroups` function. Configure your `.vitepress/config.js` as follows:
 
 ```ts
-import { useSidebar, useOpenapi } from 'vitepress-openapi'
+import { useSidebar, useOpenapi } from 'vitepress-openapi/client'
 import spec from '../public/openapi.json' assert { type: 'json' }
 
 const sidebar = useSidebar({
@@ -60,7 +60,7 @@ module.exports = {
 To generate sidebar items by tags, you can use the `itemsByTags` function. Configure your `.vitepress/config.js` as follows:
 
 ```ts
-import { useSidebar, useOpenapi } from 'vitepress-openapi'
+import { useSidebar, useOpenapi } from 'vitepress-openapi/client'
 import spec from '../public/openapi.json' assert { type: 'json' }
 
 const sidebar = useSidebar({
@@ -100,7 +100,7 @@ module.exports = {
 To generate sidebar items by paths, you can use the `itemsByPaths` function. Configure your `.vitepress/config.js` as follows:
 
 ```ts
-import { useSidebar, useOpenapi } from 'vitepress-openapi'
+import { useSidebar, useOpenapi } from 'vitepress-openapi/client'
 import spec from '../public/openapi.json' assert { type: 'json' }
 
 const sidebar = useSidebar({ spec })
diff --git a/docs/tailwind.config.js b/docs/tailwind.config.js
new file mode 100644
index 0000000..0af98c1
--- /dev/null
+++ b/docs/tailwind.config.js
@@ -0,0 +1,15 @@
+const animate = require('tailwindcss-animate')
+const base = require('../tailwind.config')
+
+/** @type {import('tailwindcss').Config} */
+module.exports = {
+  darkMode: ['class'],
+  safelist: ['dark'],
+  prefix: '',
+  content: [
+    './.vitepress/theme/**/*.{vue,js,ts,jsx,tsx}',
+    './sidebar/*.md',
+  ],
+  theme: base.theme,
+  plugins: [animate],
+}
diff --git a/package.json b/package.json
index 451b7e2..c0881db 100644
--- a/package.json
+++ b/package.json
@@ -17,14 +17,18 @@
   ],
   "exports": {
     ".": {
-      "import": "./dist/vitepress-openapi.es.js",
-      "require": "./dist/vitepress-openapi.umd.js"
+      "types": "./dist/types/src/index.d.ts",
+      "import": "./dist/vitepress-openapi.node.es.js"
+    },
+    "./client": {
+      "types": "./dist/types/src/client.d.ts",
+      "import": "./dist/vitepress-openapi.client.es.js"
     },
     "./dist/style.css": "./dist/style.css"
   },
-  "main": "./dist/vitepress-openapi.es.js",
-  "module": "./dist/vitepress-openapi.es.js",
-  "types": "./dist/types/index.d.ts",
+  "main": "./dist/vitepress-openapi.node.es.js",
+  "module": "./dist/vitepress-openapi.node.es.js",
+  "types": "./dist/types/src/index.d.ts",
   "files": [
     "dist",
     "src"
@@ -36,9 +40,8 @@
     "prepublishOnly": "pnpm run build",
     "lint": "eslint src",
     "lint:fix": "eslint src --fix",
-    "docs:dev": "VITE_DEBUG=1 IS_DOCS=1 vitepress dev docs",
-    "dev": "pnpm run docs:dev",
-    "docs:build": "IS_DOCS=1 pnpm run build && IS_DOCS=1 vitepress build docs",
+    "dev": "cd docs && pnpm run dev",
+    "docs:build": "pnpm run build && cd docs && pnpm run build",
     "test": "vitest",
     "test:run": "vitest --run",
     "typecheck": "vue-tsc --noEmit"
@@ -57,9 +60,7 @@
     "tailwindcss-animate": "^1.0.7"
   },
   "devDependencies": {
-    "@amoutonbrady/lz-string": "^0.1.0",
     "@antfu/eslint-config": "^2.27.1",
-    "@iconify/vue": "^4.2.0",
     "@scalar/openapi-types": "^0.1.5",
     "@sindresorhus/slugify": "^2.2.1",
     "@trojs/openapi-dereference": "^0.2.3",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 7af5500..6e00dff 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -33,15 +33,9 @@ importers:
         specifier: ^1.0.7
         version: 1.0.7(tailwindcss@3.4.10)
     devDependencies:
-      '@amoutonbrady/lz-string':
-        specifier: ^0.1.0
-        version: 0.1.0
       '@antfu/eslint-config':
         specifier: ^2.27.1
         version: 2.27.3(@typescript-eslint/utils@8.3.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.5.4))(@vue/compiler-sfc@3.5.12)(eslint-plugin-format@0.1.2(eslint@9.10.0(jiti@1.21.6)))(eslint@9.10.0(jiti@1.21.6))(svelte@4.2.19)(typescript@5.5.4)(vitest@2.0.5(@types/node@22.5.1)(sass@1.79.2))
-      '@iconify/vue':
-        specifier: ^4.2.0
-        version: 4.2.0(vue@3.4.38(typescript@5.5.4))
       '@scalar/openapi-types':
         specifier: ^0.1.5
         version: 0.1.5
@@ -133,6 +127,79 @@ importers:
         specifier: ^3.6.3
         version: 3.6.3
 
+  docs:
+    dependencies:
+      '@vueuse/core':
+        specifier: ^10.11.0
+        version: 10.11.0(vue@3.5.12(typescript@5.5.4))
+      class-variance-authority:
+        specifier: ^0.7.0
+        version: 0.7.0
+      clsx:
+        specifier: ^2.1.1
+        version: 2.1.1
+      lucide-vue-next:
+        specifier: ^0.411.0
+        version: 0.411.0(vue@3.5.12(typescript@5.5.4))
+      radix-vue:
+        specifier: ^1.9.1
+        version: 1.9.1(vue@3.5.12(typescript@5.5.4))
+      tailwind-merge:
+        specifier: ^2.4.0
+        version: 2.4.0
+      tailwindcss-animate:
+        specifier: ^1.0.7
+        version: 1.0.7(tailwindcss@3.4.10)
+      vitepress-openapi:
+        specifier: workspace:*
+        version: link:..
+    devDependencies:
+      '@amoutonbrady/lz-string':
+        specifier: ^0.1.0
+        version: 0.1.0
+      '@antfu/eslint-config':
+        specifier: ^2.27.1
+        version: 2.27.3(@typescript-eslint/utils@8.3.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.5.4))(@vue/compiler-sfc@3.5.12)(eslint-plugin-format@0.1.2(eslint@9.10.0(jiti@1.21.6)))(eslint@9.10.0(jiti@1.21.6))(svelte@4.2.19)(typescript@5.5.4)(vitest@2.0.5(@types/node@22.5.1)(sass@1.79.2))
+      '@iconify/vue':
+        specifier: ^4.2.0
+        version: 4.2.0(vue@3.5.12(typescript@5.5.4))
+      '@types/node':
+        specifier: ^22.5.1
+        version: 22.5.1
+      '@vitejs/plugin-vue':
+        specifier: ^5.1.3
+        version: 5.1.4(vite@5.4.11(@types/node@22.5.1)(sass@1.79.2))(vue@3.5.12(typescript@5.5.4))
+      autoprefixer:
+        specifier: ^10.4.20
+        version: 10.4.20(postcss@8.4.47)
+      eslint:
+        specifier: ^9.9.1
+        version: 9.10.0(jiti@1.21.6)
+      eslint-plugin-cypress:
+        specifier: ^3.5.0
+        version: 3.5.0(eslint@9.10.0(jiti@1.21.6))
+      eslint-plugin-format:
+        specifier: ^0.1.2
+        version: 0.1.2(eslint@9.10.0(jiti@1.21.6))
+      postcss:
+        specifier: ^8.4.42
+        version: 8.4.47
+      tailwindcss:
+        specifier: ^3.4.10
+        version: 3.4.10
+      vite:
+        specifier: ^5.4.2
+        version: 5.4.11(@types/node@22.5.1)(sass@1.79.2)
+      vitepress:
+        specifier: ^1.4.1
+        version: 1.5.0(@algolia/client-search@4.24.0)(@types/node@22.5.1)(postcss@8.4.47)(sass@1.79.2)(search-insights@2.15.0)(typescript@5.5.4)
+      vitest:
+        specifier: ^2.0.5
+        version: 2.0.5(@types/node@22.5.1)(sass@1.79.2)
+      vue:
+        specifier: ^3.4.38
+        version: 3.5.12(typescript@5.5.4)
+
 packages:
 
   '@algolia/autocomplete-core@1.9.3':
@@ -271,10 +338,6 @@ packages:
     resolution: {integrity: sha512-CbkjYdsJNHFk8uqpEkpCvRs3YRp9tY6FmFY7wLMSYuGYkrdUi7r2lc4/wqsvlHoMznX3WJ9IP8giGPq68T/Y6g==}
     engines: {node: '>=6.9.0'}
 
-  '@babel/helper-validator-identifier@7.24.7':
-    resolution: {integrity: sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w==}
-    engines: {node: '>=6.9.0'}
-
   '@babel/helper-validator-identifier@7.25.7':
     resolution: {integrity: sha512-AM6TzwYqGChO45oiuPqwL2t20/HdMC1rTPAesnBCgPCSF1x3oN9MVUwQV2iyz4xqWrctwK5RNC8LV22kaQCNYg==}
     engines: {node: '>=6.9.0'}
@@ -571,6 +634,9 @@ packages:
     resolution: {integrity: sha512-d2CGZR2o7fS6sWB7DG/3a95bGKQyHMACZ5aW8qGkkqQpUoZV6C0X7Pc7l4ZNMZkfNBf4VWNe9E1jRsf0G146Ew==}
     engines: {node: '>=18.18'}
 
+  '@iconify-json/simple-icons@1.2.20':
+    resolution: {integrity: sha512-WlQ95zrdxxizrFt2HtkfYjyWatLfE8Z7BKOkew9quG5S5AKYVxF1PkTtOs8LDWShce1DpvxKWQne4W5DQyEGZg==}
+
   '@iconify/types@2.0.0':
     resolution: {integrity: sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==}
 
@@ -748,18 +814,42 @@ packages:
   '@shikijs/core@1.22.0':
     resolution: {integrity: sha512-S8sMe4q71TJAW+qG93s5VaiihujRK6rqDFqBnxqvga/3LvqHEnxqBIOPkt//IdXVtHkQWKu4nOQNk0uBGicU7Q==}
 
+  '@shikijs/core@1.27.2':
+    resolution: {integrity: sha512-ns1dokDr0KE1lQ9mWd4rqaBkhSApk0qGCK1+lOqwnkQSkVZ08UGqXj1Ef8dAcTMZNFkN6PSNjkL5TYNX7pyPbQ==}
+
   '@shikijs/engine-javascript@1.22.0':
     resolution: {integrity: sha512-AeEtF4Gcck2dwBqCFUKYfsCq0s+eEbCEbkUuFou53NZ0sTGnJnJ/05KHQFZxpii5HMXbocV9URYVowOP2wH5kw==}
 
+  '@shikijs/engine-javascript@1.27.2':
+    resolution: {integrity: sha512-0JB7U5vJc16NShBdxv9hSSJYSKX79+32O7F4oXIxJLdYfomyFvx4B982ackUI9ftO9T3WwagkiiD3nOxOOLiGA==}
+
   '@shikijs/engine-oniguruma@1.22.0':
     resolution: {integrity: sha512-5iBVjhu/DYs1HB0BKsRRFipRrD7rqjxlWTj4F2Pf+nQSPqc3kcyqFFeZXnBMzDf0HdqaFVvhDRAGiYNvyLP+Mw==}
 
+  '@shikijs/engine-oniguruma@1.27.2':
+    resolution: {integrity: sha512-FZYKD1KN7srvpkz4lbGLOYWlyDU4Rd+2RtuKfABTkafAPOFr+J6umfIwY/TzOQqfNtWjL7SAwPAO0dcOraRLaQ==}
+
+  '@shikijs/langs@1.27.2':
+    resolution: {integrity: sha512-MSrknKL0DbeXvhtSigMLIzjPOOQfvK7fsbcRv2NUUB0EvuTTomY8/U+lAkczYrXY2+dygKOapJKk8ScFYbtoNw==}
+
+  '@shikijs/themes@1.27.2':
+    resolution: {integrity: sha512-Yw/uV7EijjWavIIZLoWneTAohcbBqEKj6XMX1bfMqO3llqTKsyXukPp1evf8qPqzUHY7ibauqEaQchhfi857mg==}
+
   '@shikijs/transformers@1.22.0':
     resolution: {integrity: sha512-k7iMOYuGQA62KwAuJOQBgH2IQb5vP8uiB3lMvAMGUgAMMurePOx3Z7oNqJdcpxqZP6I9cc7nc4DNqSKduCxmdg==}
 
+  '@shikijs/transformers@1.27.2':
+    resolution: {integrity: sha512-BJFeXP9/zlYidJocv2ShkOvXI22fepS2oK/vItfCbCcuJ0783eWgEn6/mMrXmk+p+Twu49ntDVQe665uy6RPWw==}
+
   '@shikijs/types@1.22.0':
     resolution: {integrity: sha512-Fw/Nr7FGFhlQqHfxzZY8Cwtwk5E9nKDUgeLjZgt3UuhcM3yJR9xj3ZGNravZZok8XmEZMiYkSMTPlPkULB8nww==}
 
+  '@shikijs/types@1.27.2':
+    resolution: {integrity: sha512-DM9OWUyjmdYdnKDpaGB/GEn9XkToyK1tqxuqbmc5PV+5K8WjjwfygL3+cIvbkSw2v1ySwHDgqATq/+98pJ4Kyg==}
+
+  '@shikijs/vscode-textmate@10.0.1':
+    resolution: {integrity: sha512-fTIQwLF+Qhuws31iw7Ncl1R3HUDtGwIipiJ9iU+UsDUwMhegFcQKQHd51nZjb7CArq0MvON8rbgCGQYWHUKAdg==}
+
   '@shikijs/vscode-textmate@9.2.0':
     resolution: {integrity: sha512-5FinaOp6Vdh/dl4/yaOTh0ZeKch+rYS8DUb38V3GMKYVkdqzxw53lViRKUYkVILRiVQT7dcPC7VvAKOR73zVtQ==}
 
@@ -993,12 +1083,21 @@ packages:
   '@vue/devtools-api@7.4.6':
     resolution: {integrity: sha512-XipBV5k0/IfTr0sNBDTg7OBUCp51cYMMXyPxLXJZ4K/wmUeMqt8cVdr2ZZGOFq+si/jTyCYnNxeKoyev5DOUUA==}
 
+  '@vue/devtools-api@7.7.0':
+    resolution: {integrity: sha512-bHEv6kT85BHtyGgDhE07bAUMAy7zpv6nnR004nSTd0wWMrAOtcrYoXO5iyr20Hkf5jR8obQOfS3byW+I3l2CCA==}
+
   '@vue/devtools-kit@7.4.6':
     resolution: {integrity: sha512-NbYBwPWgEic1AOd9bWExz9weBzFdjiIfov0yRn4DrRfR+EQJCI9dn4I0XS7IxYGdkmUJi8mFW42LLk18WsGqew==}
 
+  '@vue/devtools-kit@7.7.0':
+    resolution: {integrity: sha512-5cvZ+6SA88zKC8XiuxUfqpdTwVjJbvYnQZY5NReh7qlSGPvVDjjzyEtW+gdzLXNSd8tStgOjAdMCpvDQamUXtA==}
+
   '@vue/devtools-shared@7.4.6':
     resolution: {integrity: sha512-rPeSBzElnHYMB05Cc056BQiJpgocQjY8XVulgni+O9a9Gr9tNXgPteSzFFD+fT/iWMxNuUgGKs9CuW5DZewfIg==}
 
+  '@vue/devtools-shared@7.7.0':
+    resolution: {integrity: sha512-jtlQY26R5thQxW9YQTpXbI0HoK0Wf9Rd4ekidOkRvSy7ChfK0kIU6vvcBtjj87/EcpeOSK49fZAicaFNJcoTcQ==}
+
   '@vue/language-core@2.1.4':
     resolution: {integrity: sha512-i8pfAgNjTNjabBX1xRsuV6aRw2E8bdQXwd5H8m3cUkTVJju3QN5nfdoXET0uK+yXsuloNJPzo6PXFujRRPNmMA==}
     peerDependencies:
@@ -1192,6 +1291,9 @@ packages:
   birpc@0.2.17:
     resolution: {integrity: sha512-+hkTxhot+dWsLpp3gia5AkVHIsKlZybNT5gIYiDlNzJrmYPcTM9k5/w2uaj3IPpd7LlEYpmCj4Jj1nC41VhDFg==}
 
+  birpc@0.2.19:
+    resolution: {integrity: sha512-5WeXXAvTmitV1RqJFppT5QtUiz2p1mRSYU000Jkft5ZUCLJIk4uQriYNO50HknxKwM6jd8utNc66K1qGIwwWBQ==}
+
   boolbase@1.0.0:
     resolution: {integrity: sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==}
 
@@ -1432,6 +1534,9 @@ packages:
   electron-to-chromium@1.5.13:
     resolution: {integrity: sha512-lbBcvtIJ4J6sS4tb5TLp1b4LyfCdMkwStzXPyAgVgTRAsep4bvrAGaBOP7ZJtQMNJpSQ9SqG4brWOroNaQtm7Q==}
 
+  emoji-regex-xs@1.0.0:
+    resolution: {integrity: sha512-LRlerrMYoIDrT6jgpeZ2YYl/L8EulRTt5hQcYjy5AInh7HWXKimpqx68aknBFpGL2+/IcogTcaydJEgaTmOpDg==}
+
   emoji-regex@8.0.0:
     resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==}
 
@@ -1811,6 +1916,9 @@ packages:
   hast-util-to-html@9.0.3:
     resolution: {integrity: sha512-M17uBDzMJ9RPCqLMO92gNNUDuBSq10a25SDBI08iCCxmorf4Yy6sYHK57n9WAbRAAaU+DuR4W6GN9K4DFZesYg==}
 
+  hast-util-to-html@9.0.4:
+    resolution: {integrity: sha512-wxQzXtdbhiwGAUKrnQJXlOPmHnEehzphwkK7aluUPQ+lEc1xefC8pblMgpp2w5ldBTEfveRIrADcrhGIWrlTDA==}
+
   hast-util-whitespace@3.0.0:
     resolution: {integrity: sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw==}
 
@@ -2192,6 +2300,9 @@ packages:
     resolution: {integrity: sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==}
     engines: {node: '>=12'}
 
+  oniguruma-to-es@2.1.0:
+    resolution: {integrity: sha512-Iq/949c5IueVC5gQR7OYXs0uHsDIePcgZFlVRIVGfQcWwbKG+nsyWfthswdytShlRdkZADY+bWSi+BRyUL81gA==}
+
   oniguruma-to-js@0.4.3:
     resolution: {integrity: sha512-X0jWUcAlxORhOqqBREgPMgnshB7ZGYszBNspP+tS9hPD3l13CdaXcHbgImoHUHlrvGx/7AvFEkTRhAGYh+jzjQ==}
 
@@ -2411,9 +2522,18 @@ packages:
     resolution: {integrity: sha512-J8rn6v4DBb2nnFqkqwy6/NnTYMcgLA+sLr0iIO41qpv0n+ngb7ksag2tMRl0inb1bbO/esUwzW1vbJi7K0sI0g==}
     engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0}
 
+  regex-recursion@5.1.1:
+    resolution: {integrity: sha512-ae7SBCbzVNrIjgSbh7wMznPcQel1DNlDtzensnFxpiNpXt1U2ju/bHugH422r+4LAVS1FpW1YCwilmnNsjum9w==}
+
+  regex-utilities@2.3.0:
+    resolution: {integrity: sha512-8VhliFJAWRaUiVvREIiW2NXXTmHs4vMNnSzuJVhscgmGav3g9VDxLrQndI3dZZVVdp0ZO/5v0xmX516/7M9cng==}
+
   regex@4.3.3:
     resolution: {integrity: sha512-r/AadFO7owAq1QJVeZ/nq9jNS1vyZt+6t1p/E59B56Rn2GCya+gr1KSyOzNL/er+r+B7phv5jG2xU2Nz1YkmJg==}
 
+  regex@5.1.1:
+    resolution: {integrity: sha512-dN5I359AVGPnwzJm2jN1k0W9LPZ+ePvoOeVMMfqIMFz53sSwXkxaJoxr50ptnsC771lK95BnTrVSZxq0b9yCGw==}
+
   regexp-ast-analysis@0.7.1:
     resolution: {integrity: sha512-sZuz1dYW/ZsfG17WSAG7eS85r5a0dDsvg+7BiiYR5o6lKCAtUrEwdmRmaGF6rwVj3LcmAeYkOWKEPlbPzN3Y3A==}
     engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0}
@@ -2498,6 +2618,9 @@ packages:
   shiki@1.22.0:
     resolution: {integrity: sha512-/t5LlhNs+UOKQCYBtl5ZsH/Vclz73GIqT2yQsCBygr8L/ppTdmpL4w3kPLoZJbMKVWtoG77Ue1feOjZfDxvMkw==}
 
+  shiki@1.27.2:
+    resolution: {integrity: sha512-QtA1C41oEVixKog+V8I3ia7jjGls7oCZ8Yul8vdHrVBga5uPoyTtMvFF4lMMXIyAZo5A5QbXq91bot2vA6Q+eQ==}
+
   siginfo@2.0.0:
     resolution: {integrity: sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==}
 
@@ -2772,6 +2895,37 @@ packages:
     engines: {node: ^18.0.0 || >=20.0.0}
     hasBin: true
 
+  vite@5.4.11:
+    resolution: {integrity: sha512-c7jFQRklXua0mTzneGW9QVyxFjUgwcihC4bXEtujIo2ouWCe1Ajt/amn2PCxYnhYfd5k09JX3SB7OYWFKYqj8Q==}
+    engines: {node: ^18.0.0 || >=20.0.0}
+    hasBin: true
+    peerDependencies:
+      '@types/node': ^18.0.0 || >=20.0.0
+      less: '*'
+      lightningcss: ^1.21.0
+      sass: '*'
+      sass-embedded: '*'
+      stylus: '*'
+      sugarss: '*'
+      terser: ^5.4.0
+    peerDependenciesMeta:
+      '@types/node':
+        optional: true
+      less:
+        optional: true
+      lightningcss:
+        optional: true
+      sass:
+        optional: true
+      sass-embedded:
+        optional: true
+      stylus:
+        optional: true
+      sugarss:
+        optional: true
+      terser:
+        optional: true
+
   vite@5.4.2:
     resolution: {integrity: sha512-dDrQTRHp5C1fTFzcSaMxjk6vdpKvT+2/mIdE07Gw2ykehT49O0z/VHS3zZ8iV/Gh8BJJKHWOe5RjaNrW5xf/GA==}
     engines: {node: ^18.0.0 || >=20.0.0}
@@ -2846,6 +3000,18 @@ packages:
       postcss:
         optional: true
 
+  vitepress@1.5.0:
+    resolution: {integrity: sha512-q4Q/G2zjvynvizdB3/bupdYkCJe2umSAMv9Ju4d92E6/NXJ59z70xB0q5p/4lpRyAwflDsbwy1mLV9Q5+nlB+g==}
+    hasBin: true
+    peerDependencies:
+      markdown-it-mathjax3: ^4
+      postcss: ^8
+    peerDependenciesMeta:
+      markdown-it-mathjax3:
+        optional: true
+      postcss:
+        optional: true
+
   vitest@2.0.5:
     resolution: {integrity: sha512-8GUxONfauuIdeSl5f9GTgVEpg5BTOlplET4WEDaeY2QBiN8wSm68vxN/tb5z405OwppfoCavnwXafiaYBC/xOA==}
     engines: {node: ^18.0.0 || >=20.0.0}
@@ -3178,8 +3344,6 @@ snapshots:
 
   '@babel/helper-string-parser@7.25.7': {}
 
-  '@babel/helper-validator-identifier@7.24.7': {}
-
   '@babel/helper-validator-identifier@7.25.7': {}
 
   '@babel/highlight@7.24.7':
@@ -3426,6 +3590,15 @@ snapshots:
       - '@vue/composition-api'
       - vue
 
+  '@floating-ui/vue@1.1.1(vue@3.5.12(typescript@5.5.4))':
+    dependencies:
+      '@floating-ui/dom': 1.6.7
+      '@floating-ui/utils': 0.2.4
+      vue-demi: 0.14.8(vue@3.5.12(typescript@5.5.4))
+    transitivePeerDependencies:
+      - '@vue/composition-api'
+      - vue
+
   '@fortawesome/fontawesome-common-types@6.6.0': {}
 
   '@fortawesome/free-regular-svg-icons@6.6.0':
@@ -3440,12 +3613,16 @@ snapshots:
 
   '@humanwhocodes/retry@0.3.0': {}
 
+  '@iconify-json/simple-icons@1.2.20':
+    dependencies:
+      '@iconify/types': 2.0.0
+
   '@iconify/types@2.0.0': {}
 
-  '@iconify/vue@4.2.0(vue@3.4.38(typescript@5.5.4))':
+  '@iconify/vue@4.2.0(vue@3.5.12(typescript@5.5.4))':
     dependencies:
       '@iconify/types': 2.0.0
-      vue: 3.4.38(typescript@5.5.4)
+      vue: 3.5.12(typescript@5.5.4)
 
   '@internationalized/date@3.5.4':
     dependencies:
@@ -3596,26 +3773,65 @@ snapshots:
       '@types/hast': 3.0.4
       hast-util-to-html: 9.0.3
 
+  '@shikijs/core@1.27.2':
+    dependencies:
+      '@shikijs/engine-javascript': 1.27.2
+      '@shikijs/engine-oniguruma': 1.27.2
+      '@shikijs/types': 1.27.2
+      '@shikijs/vscode-textmate': 10.0.1
+      '@types/hast': 3.0.4
+      hast-util-to-html: 9.0.4
+
   '@shikijs/engine-javascript@1.22.0':
     dependencies:
       '@shikijs/types': 1.22.0
       '@shikijs/vscode-textmate': 9.3.0
       oniguruma-to-js: 0.4.3
 
+  '@shikijs/engine-javascript@1.27.2':
+    dependencies:
+      '@shikijs/types': 1.27.2
+      '@shikijs/vscode-textmate': 10.0.1
+      oniguruma-to-es: 2.1.0
+
   '@shikijs/engine-oniguruma@1.22.0':
     dependencies:
       '@shikijs/types': 1.22.0
       '@shikijs/vscode-textmate': 9.3.0
 
+  '@shikijs/engine-oniguruma@1.27.2':
+    dependencies:
+      '@shikijs/types': 1.27.2
+      '@shikijs/vscode-textmate': 10.0.1
+
+  '@shikijs/langs@1.27.2':
+    dependencies:
+      '@shikijs/types': 1.27.2
+
+  '@shikijs/themes@1.27.2':
+    dependencies:
+      '@shikijs/types': 1.27.2
+
   '@shikijs/transformers@1.22.0':
     dependencies:
       shiki: 1.22.0
 
+  '@shikijs/transformers@1.27.2':
+    dependencies:
+      shiki: 1.27.2
+
   '@shikijs/types@1.22.0':
     dependencies:
       '@shikijs/vscode-textmate': 9.3.0
       '@types/hast': 3.0.4
 
+  '@shikijs/types@1.27.2':
+    dependencies:
+      '@shikijs/vscode-textmate': 10.0.1
+      '@types/hast': 3.0.4
+
+  '@shikijs/vscode-textmate@10.0.1': {}
+
   '@shikijs/vscode-textmate@9.2.0': {}
 
   '@shikijs/vscode-textmate@9.3.0': {}
@@ -3654,6 +3870,11 @@ snapshots:
       '@tanstack/virtual-core': 3.8.3
       vue: 3.4.38(typescript@5.5.4)
 
+  '@tanstack/vue-virtual@3.8.3(vue@3.5.12(typescript@5.5.4))':
+    dependencies:
+      '@tanstack/virtual-core': 3.8.3
+      vue: 3.5.12(typescript@5.5.4)
+
   '@trojs/openapi-dereference@0.2.3': {}
 
   '@types/eslint@9.6.1':
@@ -3788,6 +4009,11 @@ snapshots:
       vite: 5.4.2(@types/node@22.5.1)(sass@1.79.2)
       vue: 3.4.38(typescript@5.5.4)
 
+  '@vitejs/plugin-vue@5.1.4(vite@5.4.11(@types/node@22.5.1)(sass@1.79.2))(vue@3.5.12(typescript@5.5.4))':
+    dependencies:
+      vite: 5.4.11(@types/node@22.5.1)(sass@1.79.2)
+      vue: 3.5.12(typescript@5.5.4)
+
   '@vitejs/plugin-vue@5.1.4(vite@5.4.9(@types/node@22.5.1)(sass@1.79.2))(vue@3.5.12(typescript@5.5.4))':
     dependencies:
       vite: 5.4.9(@types/node@22.5.1)(sass@1.79.2)
@@ -3917,6 +4143,10 @@ snapshots:
     dependencies:
       '@vue/devtools-kit': 7.4.6
 
+  '@vue/devtools-api@7.7.0':
+    dependencies:
+      '@vue/devtools-kit': 7.7.0
+
   '@vue/devtools-kit@7.4.6':
     dependencies:
       '@vue/devtools-shared': 7.4.6
@@ -3927,10 +4157,24 @@ snapshots:
       speakingurl: 14.0.1
       superjson: 2.2.1
 
+  '@vue/devtools-kit@7.7.0':
+    dependencies:
+      '@vue/devtools-shared': 7.7.0
+      birpc: 0.2.19
+      hookable: 5.5.3
+      mitt: 3.0.1
+      perfect-debounce: 1.0.0
+      speakingurl: 14.0.1
+      superjson: 2.2.1
+
   '@vue/devtools-shared@7.4.6':
     dependencies:
       rfdc: 1.4.1
 
+  '@vue/devtools-shared@7.7.0':
+    dependencies:
+      rfdc: 1.4.1
+
   '@vue/language-core@2.1.4(typescript@5.5.4)':
     dependencies:
       '@volar/language-core': 2.4.1
@@ -4002,6 +4246,16 @@ snapshots:
       - '@vue/composition-api'
       - vue
 
+  '@vueuse/core@10.11.0(vue@3.5.12(typescript@5.5.4))':
+    dependencies:
+      '@types/web-bluetooth': 0.0.20
+      '@vueuse/metadata': 10.11.0
+      '@vueuse/shared': 10.11.0(vue@3.5.12(typescript@5.5.4))
+      vue-demi: 0.14.8(vue@3.5.12(typescript@5.5.4))
+    transitivePeerDependencies:
+      - '@vue/composition-api'
+      - vue
+
   '@vueuse/core@11.1.0(vue@3.5.12(typescript@5.5.4))':
     dependencies:
       '@types/web-bluetooth': 0.0.20
@@ -4034,6 +4288,13 @@ snapshots:
       - '@vue/composition-api'
       - vue
 
+  '@vueuse/shared@10.11.0(vue@3.5.12(typescript@5.5.4))':
+    dependencies:
+      vue-demi: 0.14.8(vue@3.5.12(typescript@5.5.4))
+    transitivePeerDependencies:
+      - '@vue/composition-api'
+      - vue
+
   '@vueuse/shared@11.1.0(vue@3.5.12(typescript@5.5.4))':
     dependencies:
       vue-demi: 0.14.10(vue@3.5.12(typescript@5.5.4))
@@ -4128,6 +4389,16 @@ snapshots:
       postcss: 8.4.42
       postcss-value-parser: 4.2.0
 
+  autoprefixer@10.4.20(postcss@8.4.47):
+    dependencies:
+      browserslist: 4.23.3
+      caniuse-lite: 1.0.30001655
+      fraction.js: 4.3.7
+      normalize-range: 0.1.2
+      picocolors: 1.0.1
+      postcss: 8.4.47
+      postcss-value-parser: 4.2.0
+
   axobject-query@4.1.0: {}
 
   balanced-match@1.0.2: {}
@@ -4136,6 +4407,8 @@ snapshots:
 
   birpc@0.2.17: {}
 
+  birpc@0.2.19: {}
+
   boolbase@1.0.0: {}
 
   brace-expansion@1.1.11:
@@ -4342,6 +4615,8 @@ snapshots:
 
   electron-to-chromium@1.5.13: {}
 
+  emoji-regex-xs@1.0.0: {}
+
   emoji-regex@8.0.0: {}
 
   emoji-regex@9.2.2: {}
@@ -4563,7 +4838,7 @@ snapshots:
 
   eslint-plugin-unicorn@55.0.0(eslint@9.10.0(jiti@1.21.6)):
     dependencies:
-      '@babel/helper-validator-identifier': 7.24.7
+      '@babel/helper-validator-identifier': 7.25.7
       '@eslint-community/eslint-utils': 4.4.0(eslint@9.10.0(jiti@1.21.6))
       ci-info: 4.0.0
       clean-regexp: 1.0.0
@@ -4840,6 +5115,20 @@ snapshots:
       stringify-entities: 4.0.4
       zwitch: 2.0.4
 
+  hast-util-to-html@9.0.4:
+    dependencies:
+      '@types/hast': 3.0.4
+      '@types/unist': 3.0.2
+      ccount: 2.0.1
+      comma-separated-tokens: 2.0.3
+      hast-util-whitespace: 3.0.0
+      html-void-elements: 3.0.0
+      mdast-util-to-hast: 13.2.0
+      property-information: 6.5.0
+      space-separated-tokens: 2.0.2
+      stringify-entities: 4.0.4
+      zwitch: 2.0.4
+
   hast-util-whitespace@3.0.0:
     dependencies:
       '@types/hast': 3.0.4
@@ -5021,6 +5310,10 @@ snapshots:
     dependencies:
       vue: 3.4.38(typescript@5.5.4)
 
+  lucide-vue-next@0.411.0(vue@3.5.12(typescript@5.5.4)):
+    dependencies:
+      vue: 3.5.12(typescript@5.5.4)
+
   magic-string@0.30.10:
     dependencies:
       '@jridgewell/sourcemap-codec': 1.5.0
@@ -5177,6 +5470,12 @@ snapshots:
     dependencies:
       mimic-fn: 4.0.0
 
+  oniguruma-to-es@2.1.0:
+    dependencies:
+      emoji-regex-xs: 1.0.0
+      regex: 5.1.1
+      regex-recursion: 5.1.1
+
   oniguruma-to-js@0.4.3:
     dependencies:
       regex: 4.3.3
@@ -5364,6 +5663,23 @@ snapshots:
     transitivePeerDependencies:
       - '@vue/composition-api'
 
+  radix-vue@1.9.1(vue@3.5.12(typescript@5.5.4)):
+    dependencies:
+      '@floating-ui/dom': 1.6.7
+      '@floating-ui/vue': 1.1.1(vue@3.5.12(typescript@5.5.4))
+      '@internationalized/date': 3.5.4
+      '@internationalized/number': 3.5.3
+      '@tanstack/vue-virtual': 3.8.3(vue@3.5.12(typescript@5.5.4))
+      '@vueuse/core': 10.11.0(vue@3.5.12(typescript@5.5.4))
+      '@vueuse/shared': 10.11.0(vue@3.5.12(typescript@5.5.4))
+      aria-hidden: 1.2.4
+      defu: 6.1.4
+      fast-deep-equal: 3.1.3
+      nanoid: 5.0.7
+      vue: 3.5.12(typescript@5.5.4)
+    transitivePeerDependencies:
+      - '@vue/composition-api'
+
   read-cache@1.0.0:
     dependencies:
       pify: 2.3.0
@@ -5391,8 +5707,19 @@ snapshots:
     dependencies:
       '@eslint-community/regexpp': 4.11.0
 
+  regex-recursion@5.1.1:
+    dependencies:
+      regex: 5.1.1
+      regex-utilities: 2.3.0
+
+  regex-utilities@2.3.0: {}
+
   regex@4.3.3: {}
 
+  regex@5.1.1:
+    dependencies:
+      regex-utilities: 2.3.0
+
   regexp-ast-analysis@0.7.1:
     dependencies:
       '@eslint-community/regexpp': 4.11.0
@@ -5489,6 +5816,17 @@ snapshots:
       '@shikijs/vscode-textmate': 9.3.0
       '@types/hast': 3.0.4
 
+  shiki@1.27.2:
+    dependencies:
+      '@shikijs/core': 1.27.2
+      '@shikijs/engine-javascript': 1.27.2
+      '@shikijs/engine-oniguruma': 1.27.2
+      '@shikijs/langs': 1.27.2
+      '@shikijs/themes': 1.27.2
+      '@shikijs/types': 1.27.2
+      '@shikijs/vscode-textmate': 10.0.1
+      '@types/hast': 3.0.4
+
   siginfo@2.0.0: {}
 
   signal-exit@4.1.0: {}
@@ -5804,7 +6142,7 @@ snapshots:
       debug: 4.3.5
       pathe: 1.1.2
       tinyrainbow: 1.2.0
-      vite: 5.4.2(@types/node@22.5.1)(sass@1.79.2)
+      vite: 5.4.11(@types/node@22.5.1)(sass@1.79.2)
     transitivePeerDependencies:
       - '@types/node'
       - less
@@ -5816,6 +6154,16 @@ snapshots:
       - supports-color
       - terser
 
+  vite@5.4.11(@types/node@22.5.1)(sass@1.79.2):
+    dependencies:
+      esbuild: 0.21.5
+      postcss: 8.4.47
+      rollup: 4.21.2
+    optionalDependencies:
+      '@types/node': 22.5.1
+      fsevents: 2.3.3
+      sass: 1.79.2
+
   vite@5.4.2(@types/node@22.5.1)(sass@1.79.2):
     dependencies:
       esbuild: 0.21.5
@@ -5885,6 +6233,56 @@ snapshots:
       - typescript
       - universal-cookie
 
+  vitepress@1.5.0(@algolia/client-search@4.24.0)(@types/node@22.5.1)(postcss@8.4.47)(sass@1.79.2)(search-insights@2.15.0)(typescript@5.5.4):
+    dependencies:
+      '@docsearch/css': 3.6.2
+      '@docsearch/js': 3.6.2(@algolia/client-search@4.24.0)(search-insights@2.15.0)
+      '@iconify-json/simple-icons': 1.2.20
+      '@shikijs/core': 1.27.2
+      '@shikijs/transformers': 1.27.2
+      '@shikijs/types': 1.27.2
+      '@types/markdown-it': 14.1.2
+      '@vitejs/plugin-vue': 5.1.4(vite@5.4.11(@types/node@22.5.1)(sass@1.79.2))(vue@3.5.12(typescript@5.5.4))
+      '@vue/devtools-api': 7.7.0
+      '@vue/shared': 3.5.12
+      '@vueuse/core': 11.1.0(vue@3.5.12(typescript@5.5.4))
+      '@vueuse/integrations': 11.1.0(focus-trap@7.6.0)(vue@3.5.12(typescript@5.5.4))
+      focus-trap: 7.6.0
+      mark.js: 8.11.1
+      minisearch: 7.1.0
+      shiki: 1.27.2
+      vite: 5.4.11(@types/node@22.5.1)(sass@1.79.2)
+      vue: 3.5.12(typescript@5.5.4)
+    optionalDependencies:
+      postcss: 8.4.47
+    transitivePeerDependencies:
+      - '@algolia/client-search'
+      - '@types/node'
+      - '@types/react'
+      - '@vue/composition-api'
+      - async-validator
+      - axios
+      - change-case
+      - drauu
+      - fuse.js
+      - idb-keyval
+      - jwt-decode
+      - less
+      - lightningcss
+      - nprogress
+      - qrcode
+      - react
+      - react-dom
+      - sass
+      - sass-embedded
+      - search-insights
+      - sortablejs
+      - stylus
+      - sugarss
+      - terser
+      - typescript
+      - universal-cookie
+
   vitest@2.0.5(@types/node@22.5.1)(sass@1.79.2):
     dependencies:
       '@ampproject/remapping': 2.3.0
@@ -5932,6 +6330,10 @@ snapshots:
     dependencies:
       vue: 3.4.38(typescript@5.5.4)
 
+  vue-demi@0.14.8(vue@3.5.12(typescript@5.5.4)):
+    dependencies:
+      vue: 3.5.12(typescript@5.5.4)
+
   vue-eslint-parser@9.4.3(eslint@9.10.0(jiti@1.21.6)):
     dependencies:
       debug: 4.3.5
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
new file mode 100644
index 0000000..28756fa
--- /dev/null
+++ b/pnpm-workspace.yaml
@@ -0,0 +1,2 @@
+packages:
+  - docs
diff --git a/src/client.ts b/src/client.ts
new file mode 100644
index 0000000..cd0f772
--- /dev/null
+++ b/src/client.ts
@@ -0,0 +1,73 @@
+import type { Component } from 'vue'
+import { watch } from 'vue'
+import type { Awaitable } from 'vitepress'
+import type { EnhanceAppContext, Theme } from 'vitepress/client'
+import * as VueI18n from 'vue-i18n'
+import * as components from './components'
+import { DEFAULT_OPERATION_SLOTS, useTheme } from './composables/useTheme'
+import { useShiki } from './composables/useShiki'
+import type { createOpenApiInstance } from './lib/createOpenApiInstance'
+
+import 'tailwindcss/tailwind.css'
+import './style.css'
+import './json.css'
+
+interface OAEnhanceAppContext extends EnhanceAppContext {
+  openapi?: ReturnType<typeof createOpenApiInstance> | null
+}
+
+interface VPTheme {
+  Layout: Component
+  enhanceApp: (ctx: OAEnhanceAppContext) => Awaitable<void>
+  extends?: Theme
+}
+
+export const theme = {
+  enhanceApp({ app, openapi = null }) {
+    if (openapi) {
+      app.provide('openapi', openapi)
+    }
+
+    const themeConfig = useTheme()
+
+    const i18nConfig = themeConfig.getI18nConfig()
+    const i18n: any = VueI18n.createI18n({
+      legacy: false,
+      locale: i18nConfig.locale.value,
+      fallbackLocale: i18nConfig.fallbackLocale.value,
+      messages: i18nConfig.messages,
+    })
+    app.use(i18n)
+
+    watch(
+      () => themeConfig.getLocale(),
+      () => {
+        if (i18n.global.locale.value !== themeConfig.getLocale()) {
+          i18n.global.locale.value = themeConfig.getLocale()
+        }
+      },
+      {
+        immediate: true,
+      },
+    )
+
+    Object.entries(components).forEach(([key, component]) => {
+      app.component(key, component)
+    })
+
+    useShiki().initShiki()
+  },
+} as VPTheme
+
+export { useOpenapi } from './composables/useOpenapi'
+export { useTheme } from './composables/useTheme'
+export { DEFAULT_OPERATION_SLOTS }
+export { useShiki } from './composables/useShiki'
+export { usePlayground } from './composables/usePlayground'
+export { OpenApi } from './lib/OpenApi'
+export { getOpenApiInstance } from './lib/getOpenApiInstance'
+export { createOpenApiInstance } from './lib/createOpenApiInstance'
+export { OARequest } from './lib/codeSamples/request'
+export type { IOARequest } from './lib/codeSamples/request'
+export { generateCodeSample } from './lib/codeSamples/generateCodeSample'
+export { locales } from './locales'
diff --git a/src/composables/useOpenapi.ts b/src/composables/useOpenapi.ts
index 1e02b7d..5e1bc6d 100644
--- a/src/composables/useOpenapi.ts
+++ b/src/composables/useOpenapi.ts
@@ -47,7 +47,11 @@ export function useOpenapi({
   }
 
   function addSchema({ id, spec, config }: { id: string, spec: OpenAPI.Document, config?: PartialUseThemeConfig }) {
-    const openapi = createOpenApiInstance({ spec })
+    const openapi = createOpenApiInstance({
+      spec,
+      defaultTag: config?.spec?.defaultTag,
+      defaultTagDescription: config?.spec?.defaultTagDescription,
+    })
 
     // @ts-expect-error: This adds all the properties of the OpenAPI instance to the schema.
     schemas.set(id, {
diff --git a/src/composables/usePaths.ts b/src/composables/usePaths.ts
index db2c300..a4e260f 100644
--- a/src/composables/usePaths.ts
+++ b/src/composables/usePaths.ts
@@ -4,10 +4,21 @@ import { prepareOpenAPI } from '../lib/prepareOpenAPI/prepareOpenAPI'
 
 export function usePaths({
   spec,
+  defaultTag = undefined,
+  defaultTagDescription = undefined,
 }: {
   spec: OpenAPI.Document
+  defaultTag?: string
+  defaultTagDescription?: string
 }) {
-  const openapi = OpenApi({ spec, transformedSpec: prepareOpenAPI(spec) })
+  const openapi = OpenApi({
+    spec,
+    transformedSpec: prepareOpenAPI({
+      spec,
+      defaultTag,
+      defaultTagDescription,
+    }),
+  })
 
   function getTags() {
     return openapi.getFilteredTags()
diff --git a/src/composables/useSidebar.ts b/src/composables/useSidebar.ts
index 9b32772..3d6947f 100644
--- a/src/composables/useSidebar.ts
+++ b/src/composables/useSidebar.ts
@@ -5,8 +5,6 @@ import { httpVerbs } from '../index'
 import { prepareOpenAPI } from '../lib/prepareOpenAPI/prepareOpenAPI'
 import { generateSidebarItemsByPaths } from '../lib/sidebar/generateSidebarItemsByPaths'
 import { cleanSidebarItems } from '../lib/sidebar/cleanSidebarItems'
-import { useOpenapi } from './useOpenapi'
-import { useTheme } from './useTheme'
 
 type MethodAliases = Record<string, string>
 
@@ -54,18 +52,24 @@ export function useSidebar({
   defaultTag = DEFAULT_CONFIG.defaultTag,
   methodAliases = {},
 }: SidebarConfig = {}) {
-  useTheme({
-    spec: {
-      defaultTag,
-    },
-  })
+  let openApiInstance: ReturnType<typeof OpenApi> | null = null
 
-  const apiSpec = spec || useOpenapi().json
+  function getOpenApi() {
+    if (!spec) {
+      throw new Error('OpenAPI spec is not provided.')
+    }
+
+    if (!openApiInstance) {
+      openApiInstance = OpenApi({
+        spec,
+        transformedSpec: prepareOpenAPI({
+          spec,
+        }),
+      })
+    }
 
-  const openapi = OpenApi({
-    spec: apiSpec,
-    transformedSpec: prepareOpenAPI(apiSpec),
-  })
+    return openApiInstance
+  }
 
   function sidebarItemTemplate(method: OpenAPIV3.HttpMethods, title: string): string {
     const resolvedMethod = methodAliases?.[method] || method.toUpperCase()
@@ -77,7 +81,7 @@ export function useSidebar({
   }
 
   function sidebarItemTemplateForMethodPath(method: OpenAPIV3.HttpMethods, path: string): string {
-    const operation = openapi.getPaths()?.[path]?.[method] as OpenAPIOperation | undefined
+    const operation = getOpenApi().getPaths()?.[path]?.[method] as OpenAPIOperation | undefined
 
     if (!operation) {
       return `[${method.toUpperCase()}] ${path}`
@@ -95,7 +99,7 @@ export function useSidebar({
     path: string,
     itemLinkPrefix: string = linkPrefix,
   ): OASidebarItem | null {
-    const operation = openapi.getPaths()?.[path]?.[method] as OpenAPIOperation | undefined
+    const operation = getOpenApi().getPaths()?.[path]?.[method] as OpenAPIOperation | undefined
 
     if (!operation) {
       return null
@@ -116,7 +120,7 @@ export function useSidebar({
     linkPrefix: groupLinkPrefix = linkPrefix,
     addedOperations = new Set<string>(),
   }: SidebarGroupConfig): OASidebarItem {
-    const paths = openapi.getPaths()
+    const paths = getOpenApi().getPaths()
 
     if (!paths) {
       return {
@@ -157,10 +161,14 @@ export function useSidebar({
   }
 
   function generateSidebarGroups({
-    tags = openapi.getOperationsTags(),
+    tags = undefined,
     linkPrefix: groupsLinkPrefix = linkPrefix,
   }: SidebarGroupsConfig = {}): OASidebarItem[] {
-    if (!openapi.getPaths()) {
+    if (tags === undefined) {
+      tags = getOpenApi().getOperationsTags()
+    }
+
+    if (!getOpenApi().getPaths()) {
       return []
     }
 
@@ -188,10 +196,14 @@ export function useSidebar({
   }
 
   function itemsByTags({
-    tags = openapi.getFilteredTags().map((tag: OpenAPIV3.TagObject) => tag.name || ''),
+    tags = undefined,
     linkPrefix: tagsLinkPrefix = tagLinkPrefix,
   }: SidebarGroupsConfig = {}): OASidebarItem[] {
-    if (!openapi.getPaths() || !tags) {
+    if (tags === undefined) {
+      tags = getOpenApi().getFilteredTags().map((tag: OpenAPIV3.TagObject) => tag.name || '')
+    }
+
+    if (!getOpenApi().getPaths() || !tags) {
       return []
     }
 
@@ -214,7 +226,7 @@ export function useSidebar({
     sidebarItemTemplate?: (method: OpenAPIV3.HttpMethods, path: string) => string
     linkPrefix?: string
   } = {}): DefaultTheme.SidebarItem[] {
-    const paths = openapi.getPaths()
+    const paths = getOpenApi().getPaths()
 
     const sidebarItems = generateSidebarItemsByPaths({
       paths,
diff --git a/src/index.ts b/src/index.ts
index 19ae363..991bdb6 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -1,79 +1,6 @@
-import * as VueI18n from 'vue-i18n'
-import type { EnhanceAppContext, Theme } from 'vitepress/client'
-import type { Component } from 'vue'
-import { watch } from 'vue'
-import type { Awaitable } from 'vitepress'
-import { DEFAULT_OPERATION_SLOTS, useTheme } from './composables/useTheme'
-import { useShiki } from './composables/useShiki'
-import * as components from './components'
-
-import type { createOpenApiInstance } from './lib/createOpenApiInstance'
-
-import 'tailwindcss/tailwind.css'
-import './style.css'
-import './json.css'
-
-export { DEFAULT_OPERATION_SLOTS }
 export { useSidebar } from './composables/useSidebar'
-export { useOpenapi } from './composables/useOpenapi'
-export { useTheme } from './composables/useTheme'
-export { useShiki } from './composables/useShiki'
-export { usePlayground } from './composables/usePlayground'
 export { usePaths } from './composables/usePaths'
 export { OpenApi } from './lib/OpenApi'
-export { getOpenApiInstance } from './lib/getOpenApiInstance'
-export { createOpenApiInstance } from './lib/createOpenApiInstance'
-export { OARequest } from './lib/codeSamples/request'
-export type { IOARequest } from './lib/codeSamples/request'
-export { generateCodeSample } from './lib/codeSamples/generateCodeSample'
-export { locales } from './locales'
-
-interface OAEnhanceAppContext extends EnhanceAppContext {
-  openapi: ReturnType<typeof createOpenApiInstance>
-}
-
-interface VPTheme {
-  Layout: Component
-  enhanceApp: (ctx: OAEnhanceAppContext) => Awaitable<void>
-  extends?: Theme
-}
-
-export const theme = {
-  enhanceApp({ app, openapi = null }) {
-    if (openapi) {
-      app.provide('openapi', openapi)
-    }
-
-    const themeConfig = useTheme()
-
-    const i18n: any = VueI18n.createI18n({
-      legacy: false,
-      locale: themeConfig.getI18nConfig().locale.value,
-      fallbackLocale: themeConfig.getI18nConfig().fallbackLocale.value,
-      messages: themeConfig.getI18nConfig().messages,
-    })
-    app.use(i18n)
-
-    watch(
-      () => themeConfig.getLocale(),
-      () => {
-        if (i18n.global.locale.value !== themeConfig.getLocale()) {
-          i18n.global.locale.value = themeConfig.getLocale()
-        }
-      },
-      {
-        immediate: true,
-      },
-    )
-
-    for (const key in components) {
-      // @ts-expect-error: no index signature
-      app.component(key, components[key])
-    }
-
-    useShiki().initShiki()
-  },
-} as VPTheme
 
 export const httpVerbs = ['get', 'post', 'put', 'delete', 'patch', 'options', 'head']
 
diff --git a/src/lib/createOpenApiInstance.ts b/src/lib/createOpenApiInstance.ts
index b907570..5e0369b 100644
--- a/src/lib/createOpenApiInstance.ts
+++ b/src/lib/createOpenApiInstance.ts
@@ -5,10 +5,14 @@ import { OpenApi } from './OpenApi'
 
 export function createOpenApiInstance({
   spec,
+  defaultTag = undefined,
+  defaultTagDescription = undefined,
 }: {
   spec: OpenAPI.Document
+  defaultTag?: string
+  defaultTagDescription?: string
 }) {
-  const transformedSpec = prepareOpenAPI(spec)
+  const transformedSpec = prepareOpenAPI({ spec, defaultTag, defaultTagDescription })
   const parsedSpec = processOpenAPI(transformedSpec)
   return OpenApi({ spec, transformedSpec, parsedSpec })
 }
diff --git a/src/lib/prepareOpenAPI/generateMissingTags.ts b/src/lib/prepareOpenAPI/generateMissingTags.ts
index be35882..d0142ef 100644
--- a/src/lib/prepareOpenAPI/generateMissingTags.ts
+++ b/src/lib/prepareOpenAPI/generateMissingTags.ts
@@ -1,9 +1,14 @@
 import type { OpenAPI, OpenAPIV3 } from '@scalar/openapi-types'
-import { useTheme } from '../../composables/useTheme'
-
-export function generateMissingTags(spec: OpenAPI.Document): OpenAPI.Document {
-  const defaultTag = useTheme().getSpecConfig()?.defaultTag || 'Default'
 
+export function generateMissingTags({
+  spec,
+  defaultTag = 'Default',
+  defaultTagDescription = '',
+}: {
+  spec: OpenAPI.Document
+  defaultTag?: string
+  defaultTagDescription?: string
+}): OpenAPI.Document {
   const operationTags = new Set<string>()
 
   spec.paths = spec.paths || {}
@@ -23,7 +28,7 @@ export function generateMissingTags(spec: OpenAPI.Document): OpenAPI.Document {
     && !spec.tags.find((tag: any) => tag.name === defaultTag)) {
     spec.tags.push({
       name: defaultTag,
-      description: useTheme().getSpecConfig()?.defaultTagDescription,
+      description: defaultTagDescription,
     })
   }
 
diff --git a/src/lib/prepareOpenAPI/prepareOpenAPI.ts b/src/lib/prepareOpenAPI/prepareOpenAPI.ts
index 7b4d357..f0d478a 100644
--- a/src/lib/prepareOpenAPI/prepareOpenAPI.ts
+++ b/src/lib/prepareOpenAPI/prepareOpenAPI.ts
@@ -3,7 +3,15 @@ import { generateMissingOperationIds } from './generateMissingOperationIds'
 import { generateMissingSummary } from './generateMissingSummary'
 import { generateMissingTags } from './generateMissingTags'
 
-export function prepareOpenAPI(spec: OpenAPI.Document): OpenAPI.Document {
+export function prepareOpenAPI({
+  spec,
+  defaultTag = undefined,
+  defaultTagDescription = undefined,
+}: {
+  spec: OpenAPI.Document
+  defaultTag?: string
+  defaultTagDescription?: string
+}): OpenAPI.Document {
   if (import.meta.env.VITE_DEBUG) {
     console.warn('Transforming OpenAPI spec:', spec)
   }
@@ -20,7 +28,7 @@ export function prepareOpenAPI(spec: OpenAPI.Document): OpenAPI.Document {
   if (spec?.paths) {
     spec = generateMissingOperationIds(spec)
     spec = generateMissingSummary(spec)
-    spec = generateMissingTags(spec)
+    spec = generateMissingTags({ spec, defaultTag, defaultTagDescription })
   }
 
   return Object.assign({}, spec)
diff --git a/tailwind.config.js b/tailwind.config.js
index 44daf0d..1e25c22 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -7,14 +7,7 @@ module.exports = {
   safelist: ['dark'],
   prefix: '',
   content: [
-    './index.html',
     './src/**/*.{vue,js,ts,jsx,tsx}',
-    ...(process.env.IS_DOCS
-      ? [
-          './docs/.vitepress/theme/**/*.{vue,js,ts,jsx,tsx}',
-          './docs/sidebar/*.md',
-        ]
-      : []),
   ],
   theme: {
     extend: {
diff --git a/vite.config.ts b/vite.config.ts
index cacad6e..806087b 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -8,9 +8,12 @@ export default defineConfig({
   ],
   build: {
     lib: {
-      entry: resolve(__dirname, 'src/index.ts'),
+      entry: {
+        client: resolve(__dirname, 'src/client.ts'),
+        node: resolve(__dirname, 'src/index.ts'),
+      },
       name: 'vitepress-openapi',
-      fileName: (format: string) => `vitepress-openapi.${format}.js`,
+      fileName: (format: string, entryName: string) => `vitepress-openapi.${entryName}.${format}.js`,
     },
     rollupOptions: {
       external: ['vue', 'vitepress'],


Test patch:
diff --git a/docs/tests/[testSlug].md b/docs/tests/[testSlug].md
index a462929..a38bfaa 100644
--- a/docs/tests/[testSlug].md
+++ b/docs/tests/[testSlug].md
@@ -7,7 +7,7 @@ title: vitepress-openapi
 <script setup lang="ts">
 import { onUnmounted } from 'vue'
 import { useRoute, useData } from 'vitepress'
-import { useTheme } from 'vitepress-openapi'
+import { useTheme } from 'vitepress-openapi/client'
 
 const route = useRoute()
 
diff --git a/test/lib/prepareOpenAPI/generateMissingTags.test.ts b/test/lib/prepareOpenAPI/generateMissingTags.test.ts
index 24a8337..d999a35 100644
--- a/test/lib/prepareOpenAPI/generateMissingTags.test.ts
+++ b/test/lib/prepareOpenAPI/generateMissingTags.test.ts
@@ -10,7 +10,7 @@ describe('generateMissingTags', () => {
         },
       },
     }
-    const result = generateMissingTags(spec)
+    const result = generateMissingTags({ spec })
     expect(result.paths['/example'].get.tags).toEqual(['Default'])
   })
 
@@ -24,7 +24,7 @@ describe('generateMissingTags', () => {
         },
       },
     }
-    const result = generateMissingTags(spec)
+    const result = generateMissingTags({ spec })
     expect(result.paths['/example'].get.tags).toEqual(['existingTag'])
   })
 
@@ -37,7 +37,7 @@ describe('generateMissingTags', () => {
       },
       tags: [],
     }
-    const result = generateMissingTags(spec)
+    const result = generateMissingTags({ spec })
     expect(result.tags).toEqual([
       {
         name: 'Default',
@@ -57,7 +57,7 @@ describe('generateMissingTags', () => {
       },
       tags: [],
     }
-    const result = generateMissingTags(spec)
+    const result = generateMissingTags({ spec })
     expect(result.tags).not.toContainEqual({
       name: 'Default',
       description: undefined,
@@ -69,7 +69,27 @@ describe('generateMissingTags', () => {
     const spec = {
       paths: {},
     }
-    const result = generateMissingTags(spec)
+    const result = generateMissingTags({ spec })
     expect(result.paths).toEqual({})
   })
+
+  it('uses custom default tag when provided', () => {
+    const spec = {
+      paths: {
+        '/example': {
+          get: {},
+        },
+      },
+    }
+    const result = generateMissingTags({
+      spec,
+      defaultTag: 'Custom',
+      defaultTagDescription: 'Custom Description',
+    })
+    expect(result.paths['/example'].get.tags).toEqual(['Custom'])
+    expect(result.tags).toEqual([{
+      name: 'Custom',
+      description: 'Custom Description',
+    }])
+  })
 })