Initial commit for nuxt

This commit is contained in:
Bahadir Sofuoglu 2022-09-06 14:52:18 +03:00
parent 271fd62d8d
commit 3cb3910561
1047 changed files with 15090 additions and 175754 deletions

8
plugins/appState.js Normal file
View 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);
});