import { defineConfig } from "vite"; import vue from "@vitejs/plugin-vue"; const path = require("path"); export default defineConfig({ plugins: [vue()], server: { host: "127.0.0.1", }, resolve: { alias: { "@": path.resolve(__dirname, "./src"), }, }, });