2024-05-31 00:30:22 +08:00

13 lines
301 B
TypeScript

import type { Plugin } from 'vuepress/core'
import { getDirname, path } from 'vuepress/utils'
export function fontsPlugin(): Plugin {
return {
name: '@vuepress-plume/plugin-fonts',
clientConfigFile: path.resolve(
getDirname(import.meta.url),
'../client/config.js',
),
}
}