Using @nuxt/ui-pro components gives "Missing NUXT_UI_PRO_LICENSE
license key" error
#755
Labels
status: help wanted
Good idea, but the core developers will not work on it at the moment
type: bug
Something isn't working
Issue
At the moment this module fails when the builder detects a missing NUXT_UI_PRO_LICENSE key in a project using Nuxt UI Pro components:
Reason to support this
Given that Nuxt is so kind to allow the Nuxt UI Pro components for free during development (and only require license when you deploy to production), it would make sense for Storybook to cater for this use case given that Storybook is such a valuable tool during the initial design & dev phase of a web app project.
Extra info
I've tried
My assumption is that Storybook's vite always builds in "production" mode which triggers the "Missing NUXT_UI_PRO_LICENSE license key" condition, even if it runs as
storybook dev --port 6006
. So I've tried to force the mode innuxt.config.ts
, but to no avail:To reproduce
Add Nuxt UI Pro components to your nuxt app by following these two steps:
https://ui.nuxt.com/pro/getting-started/installation
The text was updated successfully, but these errors were encountered: