Skip to content
This repository was archived by the owner on Jun 23, 2023. It is now read-only.

Commit 00336ce

Browse files
committed
chore: update README
1 parent 6d71e9d commit 00336ce

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

README.en.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414

1515
Only 3 kB, this plugin base on the Baidu analytics, it can help you quickly to collect the page views on your website, including single page web application.
1616

17-
Projects using this plugin need to be import [Vue Router](https://router.vuejs.org/) .
18-
1917
>Since the version v2.0.0, it supports the Vue 3.0, and is compatible with the Vue 2.0, you can see the live demo to learn more.<br>If you haven’t started using Vue 3.0, welcome to read the tutorial [learning Vue3](https://vue3.chengpeiquan.com/) .
2018
2119
## Features
@@ -24,7 +22,7 @@ Projects using this plugin need to be import [Vue Router](https://router.vuejs.o
2422

2523
* Support the deployment of multiple site IDs and corresponding data reporting.
2624

27-
* Supports automatic reporting of PV data generated by route switching (supports hash mode and history mode).
25+
* Supports automatic reporting of PV data generated by route switching (This feature need [Vue Router](https://router.vuejs.org/), It can support hash mode and history mode).
2826

2927
* Support manual submission of page views reports.
3028

@@ -60,7 +58,7 @@ Vue 3.0 :[vue-baidu-analytics demo for Vue 3.x](https://analyticsjs.github.io/
6058

6159
Option|Required|Type|Description
6260
:-:|:-:|:-:|-
63-
router|true|object|Vue Router, this plugin is based on Vue Router.
61+
router|false|object|Vue Router(It is optional since v2.2.0.)
6462
siteIdList|true|string[]|The site ids for Baidu analytics, if only one site needs to be reported, just keep one item in the array.
6563
isDebug|false|boolean|if `true`, it will open the debug mode,you can see the log in the console.
6664

@@ -308,6 +306,10 @@ this.$pushBAIDU.event(
308306
);
309307
```
310308

309+
## CHANGELOG
310+
311+
See:[releases](https://github.com/analyticsjs/vue-baidu-analytics/releases)
312+
311313
## License
312314

313315
[MIT License](https://github.com/analyticsjs/vue-baidu-analytics/blob/master/LICENSE) © 2019 [chengpeiquan](https://github.com/chengpeiquan)

0 commit comments

Comments
 (0)