Add UI components (shadcn) and utility functions for improved styling and layout

This commit is contained in:
ecwu
2024-12-20 13:17:34 +08:00
parent 9c2c314ce9
commit 7ecdae8f1d
59 changed files with 10412 additions and 625 deletions

View File

@@ -1,14 +1,14 @@
import { defineConfig } from 'vite'
import preact from '@preact/preset-vite'
import path from 'path'
import { defineConfig } from "vite";
import preact from "@preact/preset-vite";
import path from "path";
// https://vitejs.dev/config/
export default defineConfig({
plugins: [preact()],
base: './',
base: "./",
resolve: {
alias: {
'@': path.resolve(__dirname, 'src')
}
}
})
"@": path.resolve(__dirname, "src"),
},
},
});