vue-mount-time 记录 vue SPA 页面打开时间 Install $ npm install -D vue-mount-time Usage import Vue from 'vue' import VueMountTime from 'vue-mount-time' Vue.use(VueMountTime, { record: function(timing){ console.log(timing) // 上报处理 } }) License MIT