A wrapper for integrating dayjs into Vuejs 3
npm install vue3-dayjs-pluginbash
npm install vue3-dayjs-plugin
`
Setup Globally
`js
import VueDayjs from 'vue3-dayjs-plugin'
Vue.use(VueDayjs) // in your createApp call
`
Usage Example
Day.js will be available in your Vue templates using $date or $dayjs.
$3
`js
// you can call like this when using the old syntax
this.$date('2018-08-08').format('DD/MM/YYYY');
// when using the new
// this is because global properties are not accessible within