Skip to content

layout.js #3041

Closed Answered by techpoggi
techpoggi asked this question in PrimeVue Templates
Discussion options

You must be logged in to vote

ok, so on /src/layout/AppConfig.vue
add before the closing tag </script>
updatePreset(getPresetExt()); onPresetChange();
with this change layoutConfig from
/src/layout/composables/layout.js
const layoutConfig = reactive({ preset: 'Aura', primary: 'green', surface: null, darkTheme: false, menuMode: 'drawer', menuTheme: 'light' });
will apply on page refresh as default

for Pinia another story
resolved

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by techpoggi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant