vue-besutils
v1.2.7
Published
A collection of js function libraries for VUE
Downloads
2
Maintainers
Readme
vue-besutils
Installing
npm install bes-jstools vue-besutils --save
Get on unpkg
Example
import Vue from 'vue'
import BesUtils from 'bes-jstools'
import VUEBesUtils from 'vue-besutils'
Vue.use(VUEBesUtils, BesUtils)
<template>
<div>{{ $utils.toDateString(startDate, 'yyyy-dd-MM HH:mm:ss') }}</div>
</template>
<script>
export default {
created () {
this.$utils.toDateString(new Date(), 'MM/dd/yyyy HH:mm:ss.SSS')
}
}
</script>