Load news from json

This commit is contained in:
Cagatay Civici 2023-01-31 01:50:55 +03:00
parent cf1a9838d6
commit b8a283e95a
5 changed files with 36 additions and 36 deletions

View file

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