Update to @nextcloud/vue@2.0.0 and fix vue2-datepicker translate injection

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2020-05-23 20:07:49 +02:00
parent 1d589fe3e6
commit 9b8eb6d354
3 changed files with 55 additions and 28 deletions

View File

@@ -42,12 +42,8 @@ if (!process.env.HOT) {
}
sync(store, router)
Vue.mixin({
methods: {
t: translate,
n: translatePlural,
},
})
Vue.prototype.t = translate
Vue.prototype.n = translatePlural
Vue.directive('tooltip', Tooltip)
Vue.directive('click-outside', ClickOutside)