mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-11-30 04:03:18 +01:00
9 lines
276 B
JavaScript
9 lines
276 B
JavaScript
|
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
|
||
|
})
|