A tiny Moment.js wrapper for Vue
MIT License
A tiny Moment.js wrapper for Vue.
yarn add moment vue-momentjs
import Vue from "vue";
import moment from "moment";
import VueMomentJS from "vue-momentjs";
Vue.use(VueMomentJS, moment);
Call this.$moment()
in any component.