Nuxt/examples/storybook
Clark Du b11e9c0e51
feat: upgrade eslint to 5.x (#3494)
- [ ] babel-eslint https://github.com/babel/babel-eslint/issues/664
- [x] eslint-config-standard-jsx https://github.com/standard/eslint-config-standard-jsx/issues/32
- [x] eslint-config-standard to be stable release https://github.com/standard/eslint-config-standard/issues/123
- [x] eslint-plugin-html
- [x] eslint-plugin-import
- [x] eslint-plugin-jest
- [x] eslint-plugin-node
- [x] eslint-plugin-promise
- [x] eslint-plugin-standard https://github.com/standard/eslint-plugin-standard/issues/29
- [x] eslint-plugin-vue https://github.com/vuejs/eslint-plugin-vue/pull/504
- [x] eslint-plugin-react https://github.com/yannickcr/eslint-plugin-react/releases/tag/v7.10.0
2018-08-31 21:34:12 +01:00
..
.storybook refactor: change function calls when arity is one (#3563) 2018-07-20 16:42:31 +01:00
components feat: upgrade eslint to 5.x (#3494) 2018-08-31 21:34:12 +01:00
layouts feat: upgrade eslint to 5.x (#3494) 2018-08-31 21:34:12 +01:00
pages feat: upgrade eslint to 5.x (#3494) 2018-08-31 21:34:12 +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 initial commit 2018-02-06 02:36:22 +00:00
stories eslint: Prefer const over let (#3650) 2018-08-08 12:54:05 +02:00
nuxt.config.js feat: rewrite core to esm 2018-03-16 19:42:06 +03:30
package.json feat: upgrade eslint to 5.x (#3494) 2018-08-31 21:34:12 +01:00
README.md Update README.md 2018-02-06 13:20:38 +01:00

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