Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import Vue from 'vue';
import Vuex from 'vuex';
import MyButton from '../src/stories/Button.vue';
Vue.component('my-button', MyButton);
Vue.use(Vuex);
addParameters({
options: {
hierarchyRootSeparator: /\|/,
},
});
load(require.context('../src', true, /\.stories\.js$/), module);
load(require.context('../src', true, /\.stories\.mdx$/), module);