mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-09 13:55:01 +02:00
Update npm dependencies
This commit is contained in:
7
resources/js/packages/vue-storage.js
vendored
7
resources/js/packages/vue-storage.js
vendored
@ -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
|
||||
})
|
Reference in New Issue
Block a user