mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-23 10:58:13 +08:00
13 lines
301 B
TypeScript
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',
|
|
),
|
|
}
|
|
}
|