change architecture

This commit is contained in:
2026-01-12 02:08:47 +07:00
parent f80ea881c6
commit 27bcb8bbef
76 changed files with 997 additions and 621 deletions

View File

@@ -21,7 +21,7 @@ export default defineConfig((env) => {
dts: true, // Generate TypeScript declaration file
}),
Components({
dirs: ["src/components"],
dirs: ["src/client/components"],
extensions: ["vue", "tsx"],
dts: true,
dtsTsx: true,
@@ -44,7 +44,7 @@ export default defineConfig((env) => {
build: {
outDir: "dist/client",
rollupOptions: {
input: { index: "/src/client.ts" },
input: { index: "/src/client/index.ts" },
},
},
},