#nuxt-modules/storybook support with Nuxt v4

4 messages · Page 1 of 1 (latest)

limpid bloomBOT
#

Hi @quick shard. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

The knowledge sources you provided don’t mention nuxt-modules/storybook at all, nor Storybook integration with Nuxt 4 specifically, so I can’t confirm current compatibility or give a documented migration path.

What is covered in the sources is:

  • Nuxt 4 introduces breaking changes and a new folder structure, and many modules need explicit compatibility updates. [nuxt 4 docs update]
  • Nuxt 4 removes compatibilityVersion: 3 support, so modules that still rely on v3 compatibility paths need to be updated. [compatibility removal]
  • The Nuxt team is doing upstream PRs to community modules to add Nuxt 4 support, but this is a general statement, not specific to Storybook. [Nuxt 4 & modules]

Because there is no explicit mention of @nuxtjs/storybook / nuxt-modules/storybook in these documents, I cannot say from these sources whether it currently supports Nuxt 4.

Given that limitation, the only recommendations I can make, based strictly on the pattern described in the sources, are:

  1. Check the module’s own repo/issues for Nuxt 4 support status. Many modules are being updated or getting upstream PRs for Nuxt 4, but you’ll need to verify there. [Nuxt 4 & modules]

  2. If it doesn’t support Nuxt 4 yet, consider staying on Nuxt 3 (or using compatibilityVersion: 4 on Nuxt 3) while you depend heavily on that module, then upgrade once the module declares Nuxt 4 compatibility. The sources describe using compatibility flags and gradual migration for Nuxt 4-related breaking changes. [Migrate to Nuxt 4]

#
  1. Watch for updated docs / migration guides. The Nuxt team is updating docs and module compatibility for v4 over time, so official guidance may appear later. [nuxt 4 docs update]

I’m sorry I can’t give a more concrete, Storybook-specific setup for Nuxt 4 based on the provided material; the knowledge sources simply don’t cover that module.

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:

#

@quick shard Kapa.ai is still learning and improving, please let me know how I did by reacting below.