Skip to content

Commit

Permalink
Add page properties
Browse files Browse the repository at this point in the history
  • Loading branch information
misike12 committed Jun 29, 2024
1 parent 89ff425 commit f6c6227
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .vitepress/theme/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ import './style.css'
import { NolebaseGitChangelogPlugin } from '@nolebase/vitepress-plugin-git-changelog/client'
import '@nolebase/vitepress-plugin-git-changelog/client/style.css'

import {
NolebasePagePropertiesPlugin,
} from '@nolebase/vitepress-plugin-page-properties/client'
import '@nolebase/vitepress-plugin-page-properties/client/style.css'

import {
NolebaseHighlightTargetedHeading,
} from '@nolebase/vitepress-plugin-highlight-targeted-heading/client'
Expand Down Expand Up @@ -51,6 +56,7 @@ export default {
app.provide(InjectionKey, {
// Configuration
} as Options)
app.use(NolebaseGitChangelogPlugin)
app.use(NolebaseInlineLinkPreviewPlugin)
app.use(NolebaseGitChangelogPlugin, {
// Configuration
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"@nolebase/vitepress-plugin-git-changelog": "^2.2.0",
"@nolebase/vitepress-plugin-highlight-targeted-heading": "^2.2.0",
"@nolebase/vitepress-plugin-inline-link-preview": "^2.2.0",
"@nolebase/vitepress-plugin-page-properties": "^2.2.0",
"less": "^4.2.0",
"medium-zoom": "^1.1.0",
"sass": "^1.77.6",
Expand Down
50 changes: 50 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f6c6227

Please sign in to comment.