va-event-track
v1.0.4
Published
eventTrack for vue plugins
Downloads
2
Readme
eventTrack-vue
eventTrack for vue plugins
record time for each page to stay
record the time of each event tracking
Install
Run the command below in your terminal to install va-event-track
first
npm install va-event-track --save
Usage
import { install as eventTrack } from 'va-event-track';
/**
* Please refer to Demo
*
* {...} Has four parameters
* Mapped: event track mark
* router: Vue Router
* params: {} Custom parameters
* saveEventTrack: Promise interface
*/
Vue.ues(eventTrack, {...})
Demo
Development
npm install