2018-02-06 11:56:28 +00:00
|
|
|
import 'vuetify/dist/vuetify.css'
|
2018-02-06 02:36:22 +00:00
|
|
|
|
2018-02-06 11:56:28 +00:00
|
|
|
import { configure } from '@storybook/vue'
|
|
|
|
import Vue from 'vue'
|
|
|
|
import Vuex from 'vuex'
|
|
|
|
import Vuetify from 'vuetify'
|
|
|
|
import MyButton from '../components/Button.vue'
|
2018-02-06 02:36:22 +00:00
|
|
|
|
2018-02-06 11:56:28 +00:00
|
|
|
Vue.use(Vuex)
|
|
|
|
Vue.use(Vuetify)
|
2018-02-06 02:36:22 +00:00
|
|
|
|
2018-02-06 11:56:28 +00:00
|
|
|
Vue.component('my-button', MyButton)
|
2018-02-06 02:36:22 +00:00
|
|
|
|
2018-02-06 11:56:28 +00:00
|
|
|
// Automatically import all files ending in *.stories.js
|
|
|
|
const req = require.context('../stories', true, /.story.js$/)
|
2018-02-06 02:36:22 +00:00
|
|
|
|
|
|
|
function loadStories() {
|
2018-07-20 15:42:31 +00:00
|
|
|
req.keys().forEach(req)
|
2018-02-06 02:36:22 +00:00
|
|
|
}
|
|
|
|
|
2018-02-06 11:56:28 +00:00
|
|
|
configure(loadStories, module)
|