mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-12-26 17:09:11 +01:00
10 lines
309 B
JavaScript
Vendored
10 lines
309 B
JavaScript
Vendored
import Vue from 'vue'
|
|
import { Plugin } from 'vue2-storage'
|
|
|
|
// You can specify the plug-in configuration when connecting, passing the second object to Vue.use
|
|
Vue.use(Plugin, {
|
|
prefix: '',
|
|
driver: 'local',
|
|
ttl: 60 * 60 * 24 * 1000 * 122, // 4 month
|
|
replacer: (key, value) => value
|
|
}) |