pull/6462/head
Onur Senture 2024-09-23 17:27:08 +03:00
commit dbf5c5b1d6
2 changed files with 2790 additions and 2697 deletions

View File

@ -1,3 +1,5 @@
import AppTheme from '@/themes/app-theme';
import PrimeVue from 'primevue/config';
import { reactive } from 'vue'; import { reactive } from 'vue';
const $appState = { const $appState = {
@ -22,16 +24,8 @@ export default defineNuxtPlugin(async (nuxtApp) => {
nuxtApp.vueApp.use($appState); nuxtApp.vueApp.use($appState);
if (runtimeConfig.public.DEV_ENV === 'hot') { if (runtimeConfig.public.DEV_ENV === 'hot') {
const { default: PrimeVue } = await import('primevue/config');
const { default: Material } = await import('@primevue/themes/material');
nuxtApp.vueApp.use(PrimeVue, { nuxtApp.vueApp.use(PrimeVue, {
theme: { theme: AppTheme
preset: Material,
options: {
darkModeSelector: '.p-dark'
}
}
}); });
} }
}); });

File diff suppressed because it is too large Load Diff