import vue from "@vitejs/plugin-vue"; import { defineConfig } from "vite"; // https://vitejs.dev/config/ export default defineConfig({ plugins: [ vue({ base: "./", // 支持 Markdown 文件加载 include: [/\.vue$/], }), ], });