record the start component to the last component mount time
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
tests
.editorconfig
.eslintignore
.eslintrc.js
.gitignore
.npmignore
.travis.yml
LICENSE
package.json
readme.md

readme.md

vue-mount-time Travis CI Codecov The MIT License npm David

记录 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