build: add vue-moment

This commit is contained in:
Gauthier Roebroeck 2020-03-12 15:45:14 +08:00
parent 1d93039574
commit d4e888beed
3 changed files with 15 additions and 0 deletions

View file

@ -12414,6 +12414,11 @@
}
}
},
"moment": {
"version": "2.24.0",
"resolved": "https://registry.npmjs.org/moment/-/moment-2.24.0.tgz",
"integrity": "sha512-bV7f+6l2QigeBBZSM/6yTNq4P2fNpSWj/0e7jQcy87A8e7o2nAfP/34/2ky5Vw4B9S446EtIhodAzkFCcR4dQg=="
},
"move-concurrently": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/move-concurrently/-/move-concurrently-1.0.1.tgz",
@ -16873,6 +16878,14 @@
}
}
},
"vue-moment": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/vue-moment/-/vue-moment-4.1.0.tgz",
"integrity": "sha512-Gzisqpg82ItlrUyiD9d0Kfru+JorW2o4mQOH06lEDZNgxci0tv/fua1Hl0bo4DozDV2JK1r52Atn/8QVCu8qQw==",
"requires": {
"moment": "^2.19.2"
}
},
"vue-router": {
"version": "3.1.5",
"resolved": "https://registry.npmjs.org/vue-router/-/vue-router-3.1.5.tgz",

View file

@ -17,6 +17,7 @@
"vue": "^2.6.11",
"vue-cookies": "^1.6.1",
"vue-line-clamp": "^1.3.2",
"vue-moment": "^4.1.0",
"vue-router": "^3.1.5",
"vue-typed-mixins": "^0.2.0",
"vuelidate": "^0.7.5",

View file

@ -21,6 +21,7 @@ import store from './store'
Vue.use(Vuelidate)
Vue.use(lineClamp)
Vue.use(VueCookies)
Vue.use(require('vue-moment'))
Vue.use(httpPlugin)
Vue.use(komgaFileSystem, { http: Vue.prototype.$http })