feat(docs): align documentation shell with HeroUI baseline

This commit is contained in:
maoyingjie
2026-10-24 07:18:36 +08:00
parent 406497a20f
commit b2246f0058
33 changed files with 2499 additions and 1540 deletions
+11 -1
View File
@@ -1,10 +1,20 @@
import { defineConfig } from "vitest/config";
import { docsDataPlugin } from "./apps/docs/.vitepress/docs-data";
import vue from "@vitejs/plugin-vue";
import { fileURLToPath, URL } from "node:url";
export default defineConfig({
plugins: [vue()],
plugins: [
vue(),
docsDataPlugin(fileURLToPath(new URL("./apps/docs", import.meta.url))),
],
resolve: {
alias: {
vitepress: fileURLToPath(
new URL(
"./apps/docs/node_modules/vitepress/dist/client/index.js",
import.meta.url,
),
),
"@heroui-vue/components": fileURLToPath(
new URL("./packages/vue/src/index.ts", import.meta.url),
),