Nuxt/examples/storybook
Daniel Roe f3da112c18
chore: refresh yarn lockfile (#27612)
2024-06-14 12:37:32 +01:00
..
.storybook refactor: change function calls when arity is one (#3563) 2018-07-20 16:42:31 +01:00
components refactor: update eslint-config to 1.x 2019-07-10 15:15:49 +04:30
layouts chore: update repo 2022-09-03 14:46:48 +02:00
pages refactor: use nuxt everywhere (#8210) 2020-11-30 23:44:04 +01:00
plugins example: Update storybook example 2018-02-06 12:56:28 +01:00
static initial commit 2018-02-06 02:36:22 +00:00
store refactor: use nuxt everywhere (#8210) 2020-11-30 23:44:04 +01:00
stories chore: refresh yarn lockfile (#27612) 2024-06-14 12:37:32 +01:00
README.md refactor: use nuxt everywhere (#8210) 2020-11-30 23:44:04 +01:00
nuxt.config.js chore: update storybook example 2018-10-06 19:38:47 +01:00
package.json chore(examples): use `2.x` version of nuxt instead of latest (#19737) 2023-03-16 06:24:27 -07:00

README.md

Storybook demo for Nuxt

Demo showcasing Storybook usage with Nuxt, Vuetify and Vue-Charts

Features

  • Supports ~ and ~~ Nuxt aliases
  • Contains storybase.js with helper classes
  • Integrates most of addons
  • Real life examples with Vuetify and Vue-Charts

Description

This demo aims to integrate all the above mentioned technologies with best practices in mind.

Points of interest

  • .storybook folder contains storybook configuration
  • stories folder has number of stories corresponding to components
  • Note, Storybook is configured to understand Nuxt aliases ~ and ~~
  • Number of helpers in storybase.js to simplify storybook usahe

Usage

To run locally in dev mode

npm run storybook

and then access the storybook from localhost:9001

To build static storybook to .out folder

npm run storybookoutput

More reading