vue-dayjs-plugin

A small wrapper for integrating dayjs to Vuejs
31,284 15
Install
npm install vue-dayjs-plugin
Latest Version:1.0.0
License:MIT
Last Updated:Mar 9, 2021
Links: GitHub  ·  npm
Maintainer: jucezt

vue-dayjs

NPM Version size license

A small wrapper for integrating dayjs to Vuejs

Dayjs is a minimalist (Fast 2kB) JavaScript library for modern browsers with a largely Moment.js-compatible API. If you use Moment.js, you already know how to use Day.js.

Installation

npm install vue-dayjs-plugin

Usage

import VueDayjs from 'vue-dayjs-plugin'

Vue.use(VueDayjs)

Example

JS

this.$date('2018-08-08').format('DD/MM/YYYY');

HTML

<span> {{ $date('2018-08-08').format('DD/MM/YYYY') }} </span>

License

MIT

Related Packages

vue3-dayjs-plugin

A wrapper for integrating dayjs into Vuejs 3

10,882 1
vue-moment

Handy Moment.js filters for your Vue.js project

3,393,663 1,305
vue-moment-tz

Handy Moment-timezone.js filters for your Vue.js project.

14,407 0
@rah-emil/vue-moment

Handy Moment.js filters for your Vue.js project

13,540 1
vue-moment-v3

vue-moment for vue.js v3

9,291 0

Version History

Version Released License
1.0.0 MIT
Pre-releases (1)
Version Released License
1.0.0-beta MIT