chore(f3.5): AppShell mockup parity — sidebar, topbar, plugin fixes #26

Merged
bert.hausmans merged 8 commits from chore/f3.5-appshell-mockup-parity into main 2026-05-14 13:38:52 +02:00
2 changed files with 12 additions and 2 deletions
Showing only changes of commit f218ac6e69 - Show all commits

View File

@@ -12,7 +12,7 @@ import { router } from '@/plugins/1.router'
import App from '@/App.vue'
import { registerPlugins } from '@core/utils/plugins'
import installPrimeVue from '@/plugins/primevue'
import { installPrimeVue } from '@/plugins/primevue'
// Styles
import '@styles/tailwind.css'

View File

@@ -6,6 +6,16 @@
// Per RFC-WS-FRONTEND-PRIMEVUE AD-2: darkModeSelector matches Vuexy's
// `.dark` class convention so existing skin-toggle plumbing continues
// to work during the F3F6 parallel-mode window.
//
// Exported as a NAMED function (no `export default`) on purpose: the
// Vuexy registerPlugins() helper (src/@core/utils/plugins.ts) globs
// plugins/*/index.{ts,js} and invokes the `default` export of each
// match. A default export here would cause PrimeVue + its three
// services to register twice — once via registerPlugins, once via the
// explicit installPrimeVue(app) call in main.ts. The named export
// keeps the explicit installer in main.ts as the single registration
// site, which is the design intent (decouple PrimeVue from the Vuexy
// @core machine so F6 can delete @core/ without affecting PrimeVue).
import type { App } from 'vue'
import PrimeVue from 'primevue/config'
@@ -17,7 +27,7 @@ import nl from 'primelocale/nl.json'
import { CrewliPreset } from './theme'
import { ptDefaults } from './defaults'
export default function installPrimeVue(app: App) {
export function installPrimeVue(app: App) {
app.use(PrimeVue, {
theme: {
preset: CrewliPreset,