storybook-vue / nuxt-storybook

Storybook Module for Nuxt Framework
18 stars 0 forks source link
nuxt-module nuxt3 nuxtjs storybook storybook-addon storybookjs

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: javachakir@gmail.com

💬 Discord: ChakAs3

🐦‍⬛ Twitter: @ChakirQatab