timepiece-vue

0.0.9 • Public • Published

timepiece-vue

Datetime format plugin for Vue.js

Installation

npm install timepiece-vue --save

Usage

import Vue from 'Vue'
import Timepiece from 'timepiece-vue'

Vue.use(Timepiece)

Example

new Vue({
  el: '#app',
  data: {
    now: this.$timepiece(new Date()).format('YYYY-MM-DD')
  }
})

Readme

Keywords

none

Package Sidebar

Install

npm i timepiece-vue

Weekly Downloads

0

Version

0.0.9

License

MIT

Last publish

Collaborators

  • jikkai