@starzkg/vuepress-plugin-page-info
Version:
A comment plugin for vuepress
87 lines (51 loc) • 2.94 kB
Markdown
<!-- markdownlint-disable -->
<p align="center">
<img width="240" src="https://vuepress-theme-hope.github.io/logo.svg" style="text-align: center;"/>
</p>
<h1 align="center">vuepress-plugin-comment2</h1>
<h4 align="center">VuePress comment plugin💬 / VuePress 评论插件💬</h4>
[  ](https://www.npmjs.com/package/vuepress-plugin-comment2)
<!-- markdownlint-restore -->
VuePress comment plugin💬 / VuePress 评论插件 💬
## [Official Docs](https://vuepress-theme-hope.github.io/comment/) | [官方文档](https://vuepress-theme-hope.github.io/comment/zh/)
## Install
```bash
npm i vuepress-plugin-comment2
```
Or
```bash
yarn add -D vuepress-plugin-comment2
```
## Feature
- PageInfo components
- Support Waline.
## Migration from V1
Renamed from `@mr-hope/vuepress-plugin-comment` to `vuepress-plugin-comment2`. ⚠
- Valine service is removed 
Valine is lack of maintainence and can leak your privacy. You should use [Waline](https://waline.js.org) instead.
- vssue is not compatable with V2 yet 
- muti-categories support 
- option `hint` controlling whether a popup hint is disaplayed when page-info item is hovered 
- option `delay` controlling delay initializing comment service when page loads or navigates 
- option `pageInfoLocale` and `walineLocale` for i18n config 
---
## 安装
```bash
npm i vuepress-plugin-comment2
```
或
```bash
yarn add -D vuepress-plugin-comment2
```
## 特性
- 页面信息组件
- 支持 Waline
## 从 V1 迁移
名称从 `@mr-hope/vuepress-plugin-comment` 改为 `vuepress-plugin-comment2`. ⚠
- Valine 服务已被移除 
Valine 现已缺乏维护并可能泄露隐私. 你应当使用 [Waline](https://waline.js.org) 替代它.
- Vssue 暂未适配 V2 
- 多分类支持 
- 选项 `hint` 控制悬停在页面信息上是否显示提示 
- 选项 `delay`,控制页面加载和切换后初始化评论服务的延迟 
- 选项 `pageInfoLocale` 和 `walineLocale` 用于国际化配置 