vue-dayjs
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
Vue
Example
JS
this.$date('2018-08-08').format('DD/MM/YYYY');
HTML
<span> {{ $date('2018-08-08').format('DD/MM/YYYY') }} </span>