mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Move nuxt-primevue to showcase and change plugin names
This commit is contained in:
parent
466ff52431
commit
5440d3d6ea
14 changed files with 583 additions and 303 deletions
9
plugins/app-state.js
Normal file
9
plugins/app-state.js
Normal file
|
@ -0,0 +1,9 @@
|
|||
const $appState = {
|
||||
install: (Vue, options) => {
|
||||
Vue.config.globalProperties.$appState = reactive({ theme: 'lara-light-teal', darkTheme: false, codeSandbox: false, sourceType: 'options-api', newsActive: false, announcement: null, storageKey: 'primevue' });
|
||||
}
|
||||
};
|
||||
|
||||
export default defineNuxtPlugin((nuxtApp) => {
|
||||
nuxtApp.vueApp.use($appState);
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue