Update npm dependencies

This commit is contained in:
Bubka
2021-12-03 09:24:11 +01:00
parent 20856d62c6
commit 1c32d2ff8a
4 changed files with 7434 additions and 15353 deletions

View File

@ -1,9 +1,10 @@
import Vue from 'vue'
import VueStorage from 'vue2-storage'
import { Plugin } from 'vue2-storage'
// You can specify the plug-in configuration when connecting, passing the second object to Vue.use
Vue.use(VueStorage, {
Vue.use(Plugin, {
prefix: '',
driver: 'local',
ttl: 60 * 60 * 24 * 1000 * 122 // 4 month
ttl: 60 * 60 * 24 * 1000 * 122, // 4 month
replacer: (key, value) => value
})