moon-moment

0.0.2 • Public • Published

moon-moment

A small wrapper for integrating momentjs to Moon.js

How to install:

CommonJS:

npm install --save moment moon-moment

And in your entry file:

import Moon from 'moon'
import moment from 'moment'
import MoonMoment from 'moon-moment'

Moon.use(MoonMoment, moment)

Script:

Just add 3 scripts in order: moon, moment and moon-moment to your document.

<script src="https://unpkg.com/moon-moment"></script>

Usage

Call this.$moment() in any component.

License

Copyright to Daksh Miglani | Licensed to MIT.

/moon-moment/

    Package Sidebar

    Install

    npm i moon-moment

    Weekly Downloads

    0

    Version

    0.0.2

    License

    MIT

    Last publish

    Collaborators

    • dakshmiglani