@nuxtjs/storybook
Storybook integration with NuxtJS
Last updated 5 days ago by farnabaz .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @nuxtjs/storybook 
SYNC missed versions from official npm registry.

@nuxtjs/storybook

@nuxtjs/storybook

npm version npm downloads Github Actions CI Codecov License

Storybook integration with NuxtJS

Features

  • Zero configuration
  • Nuxt webpack configuration
  • Nuxt plugins support
  • Story discovery from nuxt modules
  • Nuxt components support
  • Storybook Generate
  • Hot reload support

????  Read more

Quick Setup

  1. Add @nuxtjs/storybook dependency to your project:
#using yarn
yarn add --dev @nuxtjs/storybook
# using npm
npm install --save-dev @nuxtjs/storybook

If you are using Nuxt < 2.14.0, you need to use core-js@3

  1. Add .nuxt-storybook and storybook-static to your .gitignore:
.nuxt-storybook
storybook-static
  1. Start adding stories

Configure

Then, add storybook section in nuxt.config.js:

export default {
  storybook: {
    // Options
  }
}

See module options.

Run

Now you can use nuxt storybook to start:

# Using yarn
yarn nuxt storybook

# Using npm
npx nuxt storybook

Development

  1. Clone this repository
  2. Install dependencies using yarn install
  3. Start storybook server using yarn dev

License

MIT License

Copyright (c)

Current Tags

  • 3.0.0-rc1                                ...           beta (3 months ago)
  • 3.3.1                                ...           latest (5 days ago)

26 Versions

  • 3.3.1                                ...           5 days ago
  • 3.3.0                                ...           2 months ago
  • 3.2.0                                ...           2 months ago
  • 3.1.0                                ...           3 months ago
  • 3.0.0                                ...           3 months ago
  • 3.0.0-rc1                                ...           3 months ago
  • 2.2.2                                ...           4 months ago
  • 2.2.1                                ...           4 months ago
  • 2.2.0                                ...           5 months ago
  • 2.2.0-rc.3                                ...           5 months ago
  • 2.2.0-rc.2                                ...           5 months ago
  • 2.2.0-rc.1                                ...           5 months ago
  • 2.1.0                                ...           5 months ago
  • 2.1.0-rc.2                                ...           5 months ago
  • 2.1.0-rc.1                                ...           5 months ago
  • 2.0.1-rc.1                                ...           5 months ago
  • 2.0.0                                ...           5 months ago
  • 1.2.0                                ...           6 months ago
  • 1.1.0                                ...           6 months ago
  • 1.1.0-beta.1                                ...           6 months ago
  • 1.1.0-beta.0                                ...           6 months ago
  • 1.0.0                                ...           6 months ago
  • 0.0.4                                ...           6 months ago
  • 0.0.3                                ...           6 months ago
  • 0.0.2                                ...           6 months ago
  • 0.0.1                                ...           6 months ago
Maintainers (2)
Downloads
Today 0
This Week 34
This Month 111
Last Day 4
Last Week 62
Last Month 105
Dependencies (9)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |