$ npm install levelrecord
Vue.use(EasyLevel,Option)
import EasyLevel from 'levelrecord'
Vue.use(EasyLevel, {
reportUrl: 'http://localhost:3000/info/create',
reportPrefix: 'demo',
reportKey: 'content',
otherReport: {
lang: 'vue'
},
entry: '#entry'
})
#Option
Key | 含义 |
---|---|
reportUrl | 报告地址 |
reportPrefix | 前缀 |
reportKey | 后端接收的名称 |
otherReport | 格外的内容 |
控制台
videoPlay
或者
url?vVideo=show