Skip to content
This repository has been archived by the owner on Nov 21, 2022. It is now read-only.

Commit

Permalink
chore(vue): update storybook to version 6 (beta)
Browse files Browse the repository at this point in the history
  • Loading branch information
preventdefault committed Jun 26, 2020
1 parent a341ba9 commit 8103004
Show file tree
Hide file tree
Showing 3 changed files with 7,001 additions and 1,515 deletions.
18 changes: 1 addition & 17 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,20 +1,4 @@
module.exports = {
stories: ['../src/vue/**/*.stories.(mdx|js)'],
stories: ['../src/vue/**/*.stories.@(mdx|js)'],
addons: ['@storybook/addon-docs', '@storybook/addon-viewport', '@storybook/addon-knobs'],
webpackFinal: async config => {
config.module.rules.push({
test: /\.(ts|tsx)$/,
use: [{
loader: 'ts-loader',
options: {
appendTsSuffixTo: [/\.vue$/],
transpileOnly: true
},
}],
});

config.resolve.extensions.push('.ts', '.tsx');

return config;
},
};
Loading

0 comments on commit 8103004

Please sign in to comment.