-
Notifications
You must be signed in to change notification settings - Fork 0
/
vite.config.ts
20 lines (20 loc) · 755 Bytes
/
vite.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
import * as path from "path";
// https://vitejs.dev/config/
export default defineConfig({
plugins: [vue()],
resolve: {
alias: {
"@Views": path.resolve(__dirname, "src/components/views"),
"@Store": path.resolve(__dirname, "src/store"),
"@Tools": path.resolve(__dirname, "./src/components/tools"),
"@Types": path.resolve(__dirname, "./src/types"),
"@Api": path.resolve(__dirname, "./src/api"),
"@Assets": path.resolve(__dirname, "./src/assets"),
"@Provider": path.resolve(__dirname, "./src/provider"),
"@Utils": path.resolve(__dirname, "./src/utils"),
"@Locale": path.resolve(__dirname, "./src/locale"),
},
},
});