Skip to content

Commit

Permalink
chore(storybook): wire storybook up with docusaurus
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasheartman committed Feb 18, 2022
1 parent 9bcb489 commit 4305166
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions website/.storybook/main.js
Expand Up @@ -10,4 +10,10 @@ module.exports = {
'storybook-addon-root-attribute/register',
],
framework: '@storybook/react',
staticDirs: [
{
from: '../static',
to: '/',
},
],
};
2 changes: 2 additions & 0 deletions website/.storybook/preview.js
@@ -1,4 +1,6 @@
import '../src/css/custom.css';
import '../node_modules/infima/dist/css/default/default.css';
import '../node_modules/@docusaurus/theme-classic/lib/admonitions.css';
import { withRootAttribute } from 'storybook-addon-root-attribute';

export const parameters = {
Expand Down

0 comments on commit 4305166

Please sign in to comment.