nuxt-storybook
Storybook Module for Nuxt Framework
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
Contributing
- 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.