From 7660d12a8c138b10da16647e6a783a6cc6471788 Mon Sep 17 00:00:00 2001 From: "bert.hausmans" Date: Mon, 11 May 2026 01:02:59 +0200 Subject: [PATCH] feat(primevue): register PrimeVue plugin in main.ts alongside Vuetify MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit installPrimeVue(app) runs AFTER registerPlugins(app) (which registers Vuetify + router + Pinia via the Vuexy @core machine). Placing the PrimeVue install outside @core/utils/plugins is deliberate — it keeps PrimeVue free of the Vuexy plugin loader so F6 can remove @core/ without disturbing PrimeVue registration. Both frameworks are now active at runtime. Existing Vuetify pages continue to render unchanged; PrimeVue components become available for the layout-shell rewrite (B7) and the FormField wrapper (B5). Verification: - pnpm typecheck — clean. - pnpm build — succeeds in 14.26s, no PrimeVue or theme-related errors. Co-Authored-By: Claude Opus 4.7 (1M context) --- apps/app/src/main.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/app/src/main.ts b/apps/app/src/main.ts index 2e9c479c..04ebec50 100644 --- a/apps/app/src/main.ts +++ b/apps/app/src/main.ts @@ -6,6 +6,7 @@ import { router } from '@/plugins/1.router' import App from '@/App.vue' import { registerPlugins } from '@core/utils/plugins' +import installPrimeVue from '@/plugins/primevue' // Styles import '@styles/tailwind.css' @@ -29,6 +30,11 @@ initSentry({ // Register plugins (router, pinia, vuetify, …). registerPlugins(app) +// PrimeVue runs alongside Vuetify during the F3–F6 parallel-mode window. +// Registered AFTER registerPlugins(app) so PrimeVue lives outside the +// Vuexy @core/ machine — F6 can remove @core/ without affecting PrimeVue. +installPrimeVue(app) + // Bind auth-scope tags per route navigation. Must run after pinia is set // up by registerPlugins (the guard reads useAuthStore / useOrganisationStore). installContextBinding(router)