chore: Setup storybook for Vue components (#2139)

This commit is contained in:
Nithin David Thomas
2021-04-29 22:12:06 +05:30
committed by GitHub
parent 979d4fe76b
commit 3afc9b5f5b
7 changed files with 6739 additions and 2595 deletions

11
.storybook/preview.js Normal file
View File

@@ -0,0 +1,11 @@
import '../app/javascript/dashboard/assets/scss/storybook.scss';
export const parameters = {
actions: { argTypesRegex: '^on[A-Z].*' },
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/,
},
},
};