mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 08:52:34 +00:00
Initial commit for nuxt
This commit is contained in:
parent
271fd62d8d
commit
3cb3910561
1047 changed files with 15090 additions and 175754 deletions
8
plugins/appState.js
Normal file
8
plugins/appState.js
Normal file
|
@ -0,0 +1,8 @@
|
|||
const $appState = {
|
||||
install: (Vue, options) => {
|
||||
Vue.config.globalProperties.$appState = reactive({theme: 'lara-light-blue', darkTheme: false, codeSandbox: false, sourceType: 'options-api', newsActive: process.env.NODE_ENV === 'production', announcement: {}});
|
||||
},
|
||||
}
|
||||
export default defineNuxtPlugin((nuxtApp) => {
|
||||
nuxtApp.vueApp.use($appState);
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue