This package allows you to integrate Storybook in your Nuxt 3 application.
# npm
npm install nuxt-storybook
# yarn
yarn add nuxt-storybook
# pnpm
pnpm add nuxt-storybook
Add the module in nuxt.config.ts:
export default defineNuxtConfig({
modules: ['nuxt-storybook'],
// Optional top-level config
storybook: {
// config
},
})
// or
export default defineNuxtConfig({
modules: [
[
'nuxt-storybook',
{
/* Optional inline config */
},
],
],
})
TODO
storybook: {
}
corepack enable (use npm i -g corepack for Node.js < 16.10).pnpm install.pnpm stub to generate type stubs.pnpm dev to start playground in development mode.Made with 💛
Published under MIT License.