vuepress-plugin-right-anchor icon indicating copy to clipboard operation
vuepress-plugin-right-anchor copied to clipboard

2.0.0-beta.49 不会显示右侧边栏

Open 2vl opened this issue 2 years ago • 10 comments

"vuepress": "^2.0.0-beta.49" "vuepress-plugin-right-anchor": "^0.5.5"

按照教程安装, 没有显示右测边栏, 是不兼容新版,还是我安装的问题呢, 感谢.

2vl avatar Jul 15 '22 03:07 2vl

需要安装 npm next 标签的版本

xuek9900 avatar Jul 15 '22 04:07 xuek9900

image

xuek9900 avatar Jul 15 '22 04:07 xuek9900

npm i vuepress-plugin-right-anchor@next

xuek9900 avatar Jul 15 '22 04:07 xuek9900

感谢回复 由于查看了cn-README.MD 而使用了 yarn add vuepress-plugin-right-anchor remove后,按照英文版里使用 yarn add vuepress-plugin-right-anchor@next 并添加配置, plugins: [ ['vuepress-plugin-right-anchor'] ] 和Style后, 还是无法显示,不知道什么原因,如果您确认可以使用的话, 我一会再新装一下试试吧.

2vl avatar Jul 15 '22 06:07 2vl

感谢指出中文文档的问题,刚刚本地测试了下 beta.49 是可以的。 请确保你项目下 node_modules/vuepress-plugin-right-anchor 版本是最新的 next 版本,最好的办法是修改包管理中依赖版本,删除 node_modules 重新安装。 或者可以给个最小环境我刚你看下。

xuek9900 avatar Jul 15 '22 06:07 xuek9900

image

这有问题吗? 添加vuepress-plugin-right-anchor 会出现 warning an anonymous plugin or theme was detected and ignored

不知道是不是这样配置

2vl avatar Jul 31 '22 09:07 2vl

我同时重新安装了vuepress1和vuepress2, 不知道为什么, vuepress2 无法正常使用本插件, 求教. image

以下是vuepress2 配置 image

2vl avatar Aug 02 '22 07:08 2vl

我同时重新安装了vuepress1和vuepress2, 不知道为什么, vuepress2 无法正常使用本插件, 求教. image

以下是vuepress2 配置 image

你好 我也写了一个 用于vuepresss v2.x的。基于beta.49 开发的。 vuepress-plugin-anchor-right

dingshaohua-com avatar Aug 24 '22 01:08 dingshaohua-com

我同时重新安装了vuepress1和vuepress2, 不知道为什么, vuepress2 无法正常使用本插件, 求教. image 以下是vuepress2 配置 image

你好 我也写了一个 用于vuepresss v2.x的。基于beta.49 开发的。 vuepress-plugin-anchor-right

我也遇到了相同的问题

ysredcity avatar Dec 26 '22 01:12 ysredcity

用我的插件吧 支持最新的版本 他这个估计停更了 。 而且我的 已经在vuepress的官方里推荐了

dingshaohua-com avatar Dec 26 '22 02:12 dingshaohua-com