Remove UI flicker

This commit is contained in:
Cagatay Civici 2023-10-17 14:34:50 +03:00
parent 290f8e6c49
commit 7eff9bdb38
5 changed files with 20 additions and 24 deletions

View file

@ -1,6 +1,6 @@
const $appState = {
install: (Vue, options) => {
Vue.config.globalProperties.$appState = reactive({ theme: 'lara-light-teal', darkTheme: false, codeSandbox: false, sourceType: 'options-api', newsActive: true, announcement: {}, storageKey: 'primevue' });
Vue.config.globalProperties.$appState = reactive({ theme: 'lara-light-teal', darkTheme: false, codeSandbox: false, sourceType: 'options-api', newsActive: false, announcement: null, storageKey: 'primevue' });
}
};