mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-23 10:58:13 +08:00
12 lines
328 B
TypeScript
12 lines
328 B
TypeScript
import { getDirname, path } from 'vuepress/utils'
|
|
import type { Plugin } from 'vuepress/core'
|
|
|
|
const __dirname = getDirname(import.meta.url)
|
|
|
|
export function contentUpdatePlugin(): Plugin {
|
|
return {
|
|
name: '@vuepress-plume/plugin-content-update',
|
|
clientConfigFile: path.resolve(__dirname, '../client/config.js'),
|
|
}
|
|
}
|