vite.config.js 356 B

1234567891011121314151617
  1. import { fileURLToPath, URL } from "node:url";
  2. import { defineConfig } from "vite";
  3. import vue from "@vitejs/plugin-vue";
  4. // https://vite.dev/config/
  5. export default defineConfig({
  6. plugins: [vue()],
  7. base: "./",
  8. resolve: {
  9. alias: {
  10. "@": fileURLToPath(new URL("./src", import.meta.url)),
  11. },
  12. },
  13. server: {
  14. host: "0.0.0.0",
  15. },
  16. });