1
0
mirror of https://github.com/actix/examples synced 2025-01-22 22:05:57 +01:00
examples/cors/frontend/vite.config.js

15 lines
303 B
JavaScript
Raw Normal View History

2024-08-07 02:04:57 +01:00
import { fileURLToPath, URL } from "node:url"
2023-07-18 22:54:35 +01:00
2024-08-07 02:04:57 +01:00
import { defineConfig } from "vite"
import vue from "@vitejs/plugin-vue"
2023-07-18 22:54:35 +01:00
// https://vitejs.dev/config/
export default defineConfig({
2024-08-07 02:04:57 +01:00
plugins: [vue()],
2023-07-18 22:54:35 +01:00
resolve: {
alias: {
2024-08-07 02:04:57 +01:00
"@": fileURLToPath(new URL("./src", import.meta.url)),
},
},
2023-07-18 22:54:35 +01:00
})