Introduce Storybook and refactor Vue components (#524)
This commit is contained in:
parent
95cfe455b8
commit
2d3bf1bec9
31 changed files with 17513 additions and 8161 deletions
4
.storybook/main.js
Normal file
4
.storybook/main.js
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
module.exports = {
|
||||
stories: ["../assets/js/**/*.stories.mdx", "../assets/js/**/*.stories.@(js|jsx|ts|tsx)"],
|
||||
addons: ["@storybook/addon-links", "@storybook/addon-essentials"],
|
||||
};
|
||||
2
.storybook/preview-head.html
Normal file
2
.storybook/preview-head.html
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
<link href="/css/bootstrap.min.css" rel="stylesheet" />
|
||||
<link href="/css/app.css" rel="stylesheet" />
|
||||
4
.storybook/preview.js
Normal file
4
.storybook/preview.js
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
|
||||
export const parameters = {
|
||||
actions: { argTypesRegex: "^on[A-Z].*" },
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue