feat(docs): align documentation shell with HeroUI baseline
This commit is contained in:
+11
-1
@@ -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),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user