parent
e30d911c39
commit
9b4a14c1ca
|
@ -7,7 +7,7 @@ import AppearanceToggle from './components/AppearanceToggle.vue'
|
|||
import {
|
||||
NolebaseEnhancedReadabilitiesPlugin,
|
||||
NolebaseEnhancedReadabilitiesMenu,
|
||||
NolebaseEnhancedReadabilitiesScreenMenu
|
||||
NolebaseEnhancedReadabilitiesScreenMenu,
|
||||
} from '@nolebase/vitepress-plugin-enhanced-readabilities'
|
||||
|
||||
import {
|
||||
|
@ -44,7 +44,18 @@ export default {
|
|||
})
|
||||
},
|
||||
enhanceApp({ app }) {
|
||||
app.use(NolebaseEnhancedReadabilitiesPlugin)
|
||||
app.use(NolebaseGitChangelogPlugin)
|
||||
app.use(NolebaseEnhancedReadabilitiesPlugin, {
|
||||
spotlight: {
|
||||
defaultToggle: true,
|
||||
}
|
||||
})
|
||||
|
||||
app.use(NolebaseGitChangelogPlugin, {
|
||||
locales: {
|
||||
'zh-CN': {
|
||||
lastEditedDateFnsLocaleName: 'zhCN',
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
} satisfies Theme
|
||||
|
|
19
package.json
19
package.json
|
@ -15,23 +15,22 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@iconify-json/octicon": "^1.1.52",
|
||||
"@nolebase/vitepress-plugin-enhanced-readabilities": "^1.9.0",
|
||||
"@nolebase/vitepress-plugin-git-changelog": "^1.20.1",
|
||||
"@nolebase/vitepress-plugin-highlight-targeted-heading": "^1.5.0",
|
||||
"@nolebase/vitepress-plugin-enhanced-readabilities": "^1.22.2",
|
||||
"@nolebase/vitepress-plugin-git-changelog": "^1.22.2",
|
||||
"@nolebase/vitepress-plugin-highlight-targeted-heading": "^1.22.2",
|
||||
"@types/markdown-it": "^13.0.7",
|
||||
"@types/markdown-it-footnote": "^3.0.3",
|
||||
"dayjs": "^1.11.10",
|
||||
"markdown-it-footnote": "^3.0.3",
|
||||
"markdown-it-katex": "^2.0.3",
|
||||
"markdown-it-pangu": "^1.0.2",
|
||||
"md5": "^2.3.0",
|
||||
"simple-git": "^3.21.0",
|
||||
"unocss": "^0.58.0",
|
||||
"simple-git": "^3.22.0",
|
||||
"unocss": "^0.58.5",
|
||||
"unplugin-vue-components": "^0.26.0",
|
||||
"vite": "^5.0.10",
|
||||
"vitepress": "1.0.0-rc.32",
|
||||
"vitepress-sidebar": "^1.18.5",
|
||||
"vue": "^3.3.13",
|
||||
"vite": "^5.1.3",
|
||||
"vitepress": "1.0.0-rc.42",
|
||||
"vitepress-sidebar": "^1.18.6",
|
||||
"vue": "^3.4.19",
|
||||
"vuepress": "2.0.0-rc.0",
|
||||
"vuepress-theme-hope": "2.0.0-rc.0"
|
||||
},
|
||||
|
|
1486
pnpm-lock.yaml
1486
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue