mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-24 11:08:16 +08:00
13 lines
407 B
TypeScript
13 lines
407 B
TypeScript
import type { App, Plugin } from '@vuepress/core'
|
|
import { path } from '@vuepress/utils'
|
|
import type { NotesDataOptions } from '../shared/index.js'
|
|
|
|
export const notesDataPlugin = (options: NotesDataOptions): Plugin => {
|
|
return (app: App) => {
|
|
return {
|
|
name: '@vuepress-plume/vuepress-plugin-notes-data',
|
|
clientConfigFile: path.resolve(__dirname, '../client/clientConfig.js'),
|
|
}
|
|
}
|
|
}
|