Mister-Hope b8b32201ef
feat!: remove plugin-shikiji, migrate to @vuepress/plugin-shiki, close #489 (#508)
* feat: remove shiki plugin

* chore: tweak

* chore: tweak

---------

Co-authored-by: pengzhanbo <volodymyr@foxmail.com>
2025-03-05 12:36:53 +08:00
..
2024-11-09 00:35:28 +08:00
2024-12-08 13:05:24 +08:00
2024-11-09 00:35:28 +08:00
2024-11-09 00:35:28 +08:00
2024-11-09 00:35:28 +08:00
2024-11-09 00:35:28 +08:00
2024-11-09 00:35:28 +08:00
2024-12-20 14:47:32 +08:00

title, author, createTime, permalink
title author createTime permalink
介绍 Plume Theme 2024/03/06 8:26:44 /config/plugins/

主题内置的使用的插件,扩展了主题的众多功能,你可以在 plugins 配置中, 实现对内部使用的各个插件的自定义配置。

配置

所有主题内部使用的插件, 均在 plugins 字段中进行配置。

::: code-tabs @tab .vuepress/config.ts

import { defineUserConfig } from 'vuepress'
import { plumeTheme } from 'vuepress-theme-plume'

export default defineUserConfig({
  theme: plumeTheme({
    plugins: {
      // more options...  // [!code ++]
    }
  }),
})

:::

:::tip 您无需重复安装这些内置插件,也无需在 vuepress配置 > plugins 中添加它们。主题已在内部完成了这些工作。 :::