kun-galgame-vue/vite.config.ts
2023-04-20 16:04:08 +08:00

15 lines
291 B
TypeScript

import { defineConfig } from "vite";
import path from 'path'
import vue from "@vitejs/plugin-vue";
// https://vitejs.dev/config/
export default defineConfig({
plugins: [vue()],
/* src 别名为 @ */
resolve: {
alias: {
'@': path.resolve(__dirname, './src'),
},
},
});