mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-23 10:58:13 +08:00
title, author, createTime, permalink
| title | author | createTime | permalink |
|---|---|---|---|
| 介绍 | Plume Theme | 2024/03/06 8:26:44 | /config/plugins/ |
主题内置的使用的插件,扩展了主题的众多功能,你可以在 plugins 配置中, 实现对内部使用的各个插件的自定义配置。
配置
所有主题内部使用的插件, 均在 plugins 字段中进行配置。
import { defineUserConfig } from 'vuepress'
import { plumeTheme } from 'vuepress-theme-plume'
export default defineUserConfig({
theme: plumeTheme({
plugins: {
// more options... // [!code ++]
}
}),
})
:::tip 您无需重复安装这些内置插件,也无需在 vuepress配置 > plugins 中添加它们。主题已在内部完成了这些工作。 :::