1
0
mirror of https://github.com/actix/examples synced 2024-12-18 08:23:10 +01:00
examples/cors/frontend/vite.config.js

15 lines
303 B
JavaScript
Raw Normal View History

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