mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-12-29 02:20:07 +01:00
9 lines
276 B
JavaScript
Vendored
9 lines
276 B
JavaScript
Vendored
import Vue from 'vue'
|
|
import VueStorage from 'vue2-storage'
|
|
|
|
// You can specify the plug-in configuration when connecting, passing the second object to Vue.use
|
|
Vue.use(VueStorage, {
|
|
prefix: '',
|
|
driver: 'local',
|
|
ttl: 60 * 60 * 24 * 1000 * 122 // 4 month
|
|
}) |