mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 09:27:13 +00:00
e7cc2757c3
Co-authored-by: Alexander Lichter <manniL@gmx.net> |
||
---|---|---|
.. | ||
.storybook | ||
components | ||
layouts | ||
pages | ||
plugins | ||
static | ||
store | ||
stories | ||
nuxt.config.js | ||
package.json | ||
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 configurationstories
folder has number of stories corresponding tocomponents
- 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