mirror of
https://github.com/amir20/dozzle.git
synced 2025-12-24 06:28:42 +01:00
20 lines
562 B
TypeScript
20 lines
562 B
TypeScript
import path from "path";
|
|
import { defineConfig } from "vite";
|
|
|
|
import Components from "unplugin-vue-components/vite";
|
|
import webfontDownload from "vite-plugin-webfont-dl";
|
|
|
|
export default defineConfig({
|
|
plugins: [
|
|
Components({
|
|
dirs: [path.resolve(__dirname, ".vitepress/theme/components")],
|
|
extensions: ["vue", "md"],
|
|
include: [/\.vue$/, /\.vue\?vue/, /\.md$/],
|
|
dts: true,
|
|
}),
|
|
webfontDownload([
|
|
"https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap",
|
|
]),
|
|
],
|
|
});
|