```js
// .storybook/preview.js

import Vue from 'vue';

import Vuex from 'vuex';

//👇 Storybook Vue app being extended and registering the library
Vue.use(Vuex);

export const decorators = [
  (story) => ({
    components: { story },
    template: '<div style="margin: 3em;"><story /></div>',
  }),
];
```