mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 17:02:38 +00:00
Load news from json
This commit is contained in:
parent
cf1a9838d6
commit
b8a283e95a
5 changed files with 36 additions and 36 deletions
|
@ -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'
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue