From 547a2816448f306615fd2cd7e1ebf2110986ab0a Mon Sep 17 00:00:00 2001 From: "bert.hausmans" Date: Sat, 16 May 2026 12:33:58 +0200 Subject: [PATCH] fix(storybook): use named installPrimeVue import in preview.ts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Storybook failed to boot ("module does not provide an export named 'default'"): .storybook/preview.ts did a default import while the PrimeVue installer is a named-only export (deliberate — f218ac6e switched to named to stop Vuexy registerPlugins() double-registration). That commit missed updating preview.ts, so Storybook has been broken on main since. Align the consumer with the producer (named import, same as main.ts) rather than re-adding a default export. Pre-existing bug, unrelated to the GUI-redesign merge. Co-Authored-By: Claude Opus 4.7 --- apps/app/.storybook/preview.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/app/.storybook/preview.ts b/apps/app/.storybook/preview.ts index fa516e70..ad43da28 100644 --- a/apps/app/.storybook/preview.ts +++ b/apps/app/.storybook/preview.ts @@ -1,7 +1,7 @@ import type { Preview } from '@storybook/vue3-vite' import { setup } from '@storybook/vue3-vite' -import installPrimeVue from '../src/plugins/primevue' +import { installPrimeVue } from '../src/plugins/primevue' import '../src/assets/styles/tailwind.css'