hassio-nextcloud-backup/nextcloud_backup/frontend/vite.config.ts
2024-08-13 16:43:02 +02:00

23 lines
580 B
TypeScript

import { fileURLToPath, URL } from "node:url";
import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
import dns from "dns";
// https://github.com/vuetifyjs/vuetify-loader/tree/next/packages/vite-plugin
import vuetify from "vite-plugin-vuetify";
// //Print localhost instead of 127.0.0.1
// dns.setDefaultResultOrder("verbatim");
// https://vitejs.dev/config/
export default defineConfig({
plugins: [vue(), vuetify({ autoImport: true })],
resolve: {
alias: {
"@": fileURLToPath(new URL("./src", import.meta.url)),
},
},
base: "",
});