Skip to content

storybook-vue/nuxt-storybook

Repository files navigation

sb-nuxt-github (1)

nuxt-storybook

Storybook Module for Nuxt Framework

Storybook module for Nuxt

Installing

pnpm add @storybook-vue/nuxt-storybook -D

update your nuxt.config

  modules: [
    '@storybook-vue/nuxt-storybook',
  ],
  storybook: {
    url: 'http://localhost:6006',
    storybookRoute: '/__storybook__',
    port: 6006,
  },

pnpm dev

Demo

https://github.com/chakAs3/nuxt-storybook-module-demo

Contributing

  1. Install dependencies with pnpm.
  2. Run pnpm dev:prepare to generate stubbed dist directory.
  3. Make your changes.
  4. Run pnpm lint to verify that there is no issues (consider adding tests).
  5. Submit a PR.

License

This repository is licensed under the MIT License. Feel free to use the code and modify it according to your needs.

Contacts :

🔖 Mail: [email protected]

💬 Discord: ChakAs3

🐦‍⬛ Twitter: @ChakirQatab