2022-10-13 17:11:55 +02:00
|
|
|
import { fileURLToPath, URL } from "node:url";
|
2022-10-11 14:10:25 +02:00
|
|
|
|
2022-10-13 17:11:55 +02:00
|
|
|
import { defineConfig } from "vite";
|
|
|
|
import vue from "@vitejs/plugin-vue";
|
2023-01-13 16:18:27 +01:00
|
|
|
import dns from "dns";
|
2022-10-13 17:11:55 +02:00
|
|
|
|
|
|
|
// https://github.com/vuetifyjs/vuetify-loader/tree/next/packages/vite-plugin
|
|
|
|
import vuetify from "vite-plugin-vuetify";
|
2022-10-11 14:10:25 +02:00
|
|
|
|
2023-01-13 16:18:27 +01:00
|
|
|
// //Print localhost instead of 127.0.0.1
|
|
|
|
// dns.setDefaultResultOrder("verbatim");
|
|
|
|
|
2022-10-11 14:10:25 +02:00
|
|
|
// https://vitejs.dev/config/
|
|
|
|
export default defineConfig({
|
2022-10-13 17:11:55 +02:00
|
|
|
plugins: [vue(), vuetify({ autoImport: true })],
|
2022-10-11 14:10:25 +02:00
|
|
|
resolve: {
|
|
|
|
alias: {
|
2022-10-13 17:11:55 +02:00
|
|
|
"@": fileURLToPath(new URL("./src", import.meta.url)),
|
|
|
|
},
|
|
|
|
},
|
|
|
|
base: "",
|
|
|
|
});
|