config/sidebar/ #142
Unanswered
Replies: 3 comments 3 replies
-
我在按照 import { defineNoteConfig, plumeTheme } from "vuepress-theme-plume";
^^^^^^^^^^^^^^^^
SyntaxError: The requested module 'vuepress-theme-plume' does not provide an export named 'defineNoteConfig'
at ModuleJob._instantiate (node:internal/modules/esm/module_job:134:21)
at async ModuleJob.run (node:internal/modules/esm/module_job:217:5)
at async ModuleLoader.import (node:internal/modules/esm/loader:316:24)
at async loadUserConfig (file:///E:/blog/my-blog/node_modules/@vuepress/cli/dist/index.js:77:18)
at async CAC.dev (file:///E:/blog/my-blog/node_modules/@vuepress/cli/dist/index.js:443:52) 我在文档中也未搜索到关于 |
Beta Was this translation helpful? Give feedback.
1 reply
-
作者,我想某个 有些文档为了分类方便,所以用文件夹管理嵌套笔记的比较多,在侧边栏展示的时候会比较长而且比较奇怪。虽说可以通过手动配置达到折叠效果,设置collapse完成这个需求,但要手动配置侧边栏还是麻烦。所以有什么好的解决办法吗。 |
Beta Was this translation helpful? Give feedback.
1 reply
-
大佬,帮我看看是什么设置的问题,我的目录树如下,最外层的2个文件夹放在notes里,但是启用自动生成侧边栏后,并没有生成侧边栏
02-文件夹
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
config/sidebar/
概述 在本主题中,侧边栏 特指 位于页面 最左侧的内容区域,用于导航到不同的页面。 在 vuepress 的默认主题 @vuepress/theme-default 中,侧边栏是通过 sidebar 进行配置。 但在本主题中,为使其更具语义化,主题将侧边栏配置整合到了 中 。 通过一个 note 对应一个 sidebar 的方式,实现更加简洁,语义化的...
https://plume.pengzhanbo.cn/config/sidebar/
Beta Was this translation helpful? Give feedback.
All reactions