Skip to content

Commit 8390a36

Browse files
committed
Restructured and added Storybook
1 parent 84e7575 commit 8390a36

File tree

22 files changed

+19880
-2460
lines changed

22 files changed

+19880
-2460
lines changed

.storybook/main.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
const path = require('path');
2+
3+
module.exports = {
4+
stories: ['../src/components/**/*.stories.[tj]s'],
5+
addons: ['@storybook/addon-knobs/register'],
6+
webpackFinal: async (config, { configType }) => {
7+
config.module.rules.push({
8+
test: /\.scss$/,
9+
use: ['style-loader', 'css-loader', 'sass-loader'],
10+
include: path.resolve(__dirname, '../src'),
11+
});
12+
13+
return config;
14+
}
15+
}

README.md

Lines changed: 0 additions & 31 deletions
This file was deleted.

build/1.index.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

build/548.index.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)