You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to set and get the idle time from a propety we've stored in our own vuex store and we've run in to a road block.
I want to try something like this, but whenever I try, the idleTime property is not available in vuex, where is this stored?
Is it possible to change the idleTime property during runtime or is it only during mounting the App component that it can be 'hot-reloaded'?
//IdleTime setup:
import Vue from 'vue';
import IdleVue from 'idle-vue';
import store from '@/store';
Vue.use(IdleVue, {
// idleTime: 15000, // unable to change when un-commented
store
});
//Store - different file
const state = {
idleVue: {
idleTime: 5000,
isIdle: true
}
};
export default {
state
};```
The text was updated successfully, but these errors were encountered:
Hi!
I'm trying to set and get the idle time from a propety we've stored in our own vuex store and we've run in to a road block.
I want to try something like this, but whenever I try, the idleTime property is not available in vuex, where is this stored?
Is it possible to change the idleTime property during runtime or is it only during mounting the App component that it can be 'hot-reloaded'?
The text was updated successfully, but these errors were encountered: