Set Aura as default
parent
e3a8183eec
commit
1bdb60f963
|
@ -1,4 +1,4 @@
|
||||||
<template>
|
a<template>
|
||||||
<div class="config-panel hidden">
|
<div class="config-panel hidden">
|
||||||
<div class="config-panel-content">
|
<div class="config-panel-content">
|
||||||
<div class="config-panel-colors">
|
<div class="config-panel-colors">
|
||||||
|
|
|
@ -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'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
5475
pnpm-lock.yaml
5475
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue