Storybook Module for Nuxt Framework
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
https://github.com/chakAs3/nuxt-storybook-module-demo
- Install dependencies with
pnpm
. - Run
pnpm dev:prepare
to generate stubbeddist
directory. - Make your changes.
- Run
pnpm lint
to verify that there is no issues (consider adding tests). - Submit a PR.
This repository is licensed under the MIT License. Feel free to use the code and modify it according to your needs.
🔖 Mail: [email protected]
💬 Discord: ChakAs3
🐦⬛ Twitter: @ChakirQatab