18 lines
523 B
TypeScript
18 lines
523 B
TypeScript
import { defineConfig } from "vite";
|
|
import vue from "@vitejs/plugin-vue";
|
|
import tailwindcss from "@tailwindcss/vite";
|
|
import { fileURLToPath, URL } from "node:url";
|
|
export default defineConfig({
|
|
plugins: [vue(), tailwindcss()],
|
|
resolve: {
|
|
alias: {
|
|
"@heroui-vue/components": fileURLToPath(
|
|
new URL("../../packages/vue/src/index.ts", import.meta.url),
|
|
),
|
|
"@heroui-vue/styles": fileURLToPath(
|
|
new URL("../../packages/styles/src/index.ts", import.meta.url),
|
|
),
|
|
},
|
|
},
|
|
});
|