stayby-admin-front-ts/vite.config.ts

14 lines
258 B
TypeScript
Raw Normal View History

2024-09-22 20:51:30 +08:00
import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
import { resolve } from "path";
// https://vitejs.dev/config/
export default defineConfig({
plugins: [vue()],
resolve: {
alias: {
"@": resolve(__dirname, "src"),
},
},
});