Storybook - STUDIO-5-v-o-s/studio5_nuxt GitHub Wiki

Co to je?

Přehled všech využívaných komponent napříč celým webem.

http://localhost:3003/

Jak nainstalovat a spustit?

Install

Add @nuxtjs/storybook dependency to your project

yarn add --dev @nuxtjs/storybook

.gitignore setup

Next, add this lines to your .gitignore

.nuxt-storybook storybook-static

nuxt.config.js

storybook: {}

Develope

To start Storybook in development environment

yarn nuxt storybook

Export

Export your Storybook into a static web application to deploy it to GitHub pages or any static hosting service

yarn nuxt storybook build

Eject

Generate manual config directory for Storybook

yarn nuxt storybook eject


Storybook

Storybook is an open source tool for developing UI components in isolation for React, Vue, Angular, and more. It makes building stunning UIs organized and efficient.

https://storybook.nuxtjs.org