import vue from "@vitejs/plugin-vue"; import path from "path"; import { defineConfig } from "vite"; import vuetify from "vite-plugin-vuetify"; // https://vitejs.dev/config/ export default defineConfig({ plugins: [ vue(), // https://github.com/vuetifyjs/vuetify-loader/tree/next/packages/vite-plugin vuetify({ autoImport: true, }), ], define: { "process.env": {} }, resolve: { alias: { "@": path.resolve(__dirname, "src"), }, }, /* remove the need to specify .vue files https://vitejs.dev/config/#resolve-extensions resolve: { extensions: [ '.js', '.json', '.jsx', '.mjs', '.ts', '.tsx', '.vue', ] }, */ server: { port: 3000, }, });