@deveodk/vue-core-time-tracker
v0.0.1
Published
Time tracking plugin for deveo core
Downloads
3
Readme
@deveodk/vue-core-time-tracker
Time tracking plugin for deveo core
Warnings
This package is highly opinonated and is made to work with deveo core only.
A requirement for this package is @deveodk/vue-core-authenticator
Installation
# NPM
# There are multiple options you can set.
import Vue from 'vue'
import VueCoreTimetracker from '@deveodk/vue-core-timetracker'
Vue.use(VueCoreTimetracker, {
baseURL: 'base url here',
axios: 'axios instance here',
interval: 30000
})
<!-- Include after Vue -->
<!-- Local files -->
<link rel="stylesheet" href="vue-core-timetracker/dist/vue-core-timetracker.css"></link>
<script src="vue-core-timetracker/dist/vue-core-timetracker.js"></script>
<!-- From CDN -->
<link rel="stylesheet" href="https://unpkg.com/vue-core-timetracker/dist/vue-core-timetracker.css"></link>
<script src="https://unpkg.com/vue-core-timetracker"></script>