Skip to content

Commit

Permalink
add storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
arturkulig committed Aug 14, 2019
1 parent 908e804 commit cdbffa3
Show file tree
Hide file tree
Showing 5 changed files with 7,755 additions and 860 deletions.
5 changes: 5 additions & 0 deletions config/storybook/addons.js
@@ -0,0 +1,5 @@
/* eslint-disable import/no-extraneous-dependencies */
import '@storybook/addon-actions/register'
import '@storybook/addon-knobs/register'
import '@storybook/addon-links/register'
import '@storybook/addon-notes/register'
10 changes: 10 additions & 0 deletions config/storybook/config.js
@@ -0,0 +1,10 @@
/* eslint-disable import/no-extraneous-dependencies */
import { configure } from '@storybook/vue'

const req = require.context('../../src/stories', true, /.stories.js$/)

function loadStories() {
req.keys().forEach(filename => req(filename))
}

configure(loadStories, module)

0 comments on commit cdbffa3

Please sign in to comment.