2026-05-24 20:48:52 +08:00
|
|
|
import { defineConfig } from "vite";
|
2026-05-24 21:21:08 +08:00
|
|
|
import vueJsx from "@vitejs/plugin-vue-jsx";
|
2026-06-28 00:42:22 +08:00
|
|
|
import { vueTui } from "@vue-tui/vite";
|
2026-05-24 20:48:52 +08:00
|
|
|
|
2026-06-28 00:42:22 +08:00
|
|
|
// This example's entry is a .tsx file, so the JSX transform (@vitejs/plugin-vue-jsx)
|
|
|
|
|
// is added alongside vueTui(); the `entry` option points both the dev launcher and
|
|
|
|
|
// the production build at src/main.tsx instead of the default src/main.ts.
|
2026-05-24 20:48:52 +08:00
|
|
|
export default defineConfig({
|
2026-06-28 00:42:22 +08:00
|
|
|
plugins: [vueTui({ entry: "/src/main.tsx" }), vueJsx()],
|
2026-05-24 20:48:52 +08:00
|
|
|
});
|