also looking at this
Production Update - Nov 28, 2021
#22
21 files
+376
-359
| @@ -1,4 +1,5 @@ | ||
| 1 | 1 | import dayjs from 'dayjs' |
| 2 | import localizedFormat from 'dayjs/plugin/localizedFormat' | |
| 2 | 3 | |
| 3 | 4 | export default { |
| 4 | 5 | /** |
| @@ -6,6 +7,8 @@ export default { | ||
| 6 | 7 | * @param {Vue} Vue |
| 7 | 8 | */ |
| 8 | 9 | install: function (app) { |
| 10 | dayjs.extend(localizedFormat) | |
| 11 | ||
| 9 | 12 | app.config.globalProperties.$dayjs = dayjs |
| 10 | 13 | app.config.globalProperties.$date = dayjs |
| 11 | 14 | app.dayjs = dayjs; |