This repository has been archived by the owner on Jun 23, 2023. It is now read-only.
- 🌟 since
v2.2.0
, the optionrouter
is optional. If your project is not based on vue-router, but uses dynamic components<component is="xxx" />
to achieve the effect of "page switching", then this update allows your project to also use this plugin, but this requires You manually trigger the traffic reporting hooks every time you switch components
- 🌟 自
v2.2.0
版本开始,router
选项是可选的,如果你的项目不是基于 Vue 路由,而是使用动态组件<component is="xxx" />
来达到 “页面切换” 的效果,那么本次更新可以让你的项目也能够使用该插件,但这需要你在每次切换组件的时候手动触发 流量上报钩子