Getting Started
Options
Configuration options for the Nuxt Storybook module.
Configure Nuxt Storybook with the storybook property.
nuxt.config.ts
export default {
// Defaults options
storybook: {
route: '/_storybook',
},
}
enabled: Enable or disable the module. This can be useful to control and disable storybook in layers or in extended projects.- type:
boolean - default:
true
- type:
route: The route where the Nuxt dev server serves the Storybook application.- type:
string - default:
/_storybook
- type:
logLevel: Log level for the terminal output.- type:
number - default:
nuxt.options.logLevel
- type:
Storybook runs inside the Nuxt dev server through @storybook/vite-plugin, so it shares the host, port and HTTPS settings of nuxt dev.