//nuxt-storybookbytobiasdiez

nuxt-storybook

0
0
0
6
TypeScript

GraphQL Server Toolkit for Nuxt

npm version
npm downloads
Github Actions
Codecov

This package allows you to integrate Storybook in your Nuxt 3 application.

Features

  • TODO
  • Nuxt Devtools integration: adds the Storybook directly in the devtools.

Installation

# npm
npm install nuxt-storybook

# yarn
yarn add nuxt-storybook

# pnpm
pnpm add nuxt-storybook

Usage

  1. 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 */
          },
        ],
      ],
    })
    
  2. TODO

Options

storybook: {
  
}

💻 Development

  • Clone this repository
  • Enable Corepack using corepack enable (use npm i -g corepack for Node.js < 16.10).
  • Install dependencies using pnpm install.
    • Run pnpm stub to generate type stubs.
  • Use pnpm dev to start playground in development mode.

License

Made with 💛

Published under MIT License.

[beta]v0.13.0