Nuxt/examples/storybook
Jonas Galvez 3f1d634fb7 Consistent parens in arrow functions (#3630)
* Minor consistency enhancements

* Arrow parenthesis consistency

* Change linting rule

* Fix typo

* Update .eslintrc.js to only require parens for blocks

* Update style according to brace-only suggestion

* Remove --fix from lint

* Tweak no-loading time (failing test)

* Tweak no-loading time (failing test) (2)

* Tweak no-loading time (failing test) (3)

* Tweak no-loading time (failing test) (4)

* Tweak no-loading time (failing test) (5)
2018-08-06 02:12:44 +02:00
..
.storybook refactor: change function calls when arity is one (#3563) 2018-07-20 16:42:31 +01:00
components refactor: use eslint-plugin-vue instead of eslint-plugin-html (#3517) 2018-07-12 14:03:50 +02:00
layouts refactor: use eslint-plugin-vue instead of eslint-plugin-html (#3517) 2018-07-12 14:03:50 +02:00
pages refactor: use eslint-plugin-vue instead of eslint-plugin-html (#3517) 2018-07-12 14:03:50 +02: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 initial commit 2018-02-06 02:36:22 +00:00
stories Consistent parens in arrow functions (#3630) 2018-08-06 02:12:44 +02:00
README.md Update README.md 2018-02-06 13:20:38 +01:00
nuxt.config.js feat: rewrite core to esm 2018-03-16 19:42:06 +03:30
package.json refactor: rename examples 2018-03-19 10:41:46 +08:00

README.md

Storybook demo for Nuxt

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

Features

  • Supports ~ and ~~ Nuxt.js 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