1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

chore(storybook): wire storybook up with docusaurus

This commit is contained in:
Thomas Heartman 2022-02-18 08:35:59 +01:00
parent 9bcb489d8c
commit 4305166186
2 changed files with 8 additions and 0 deletions

View File

@ -10,4 +10,10 @@ module.exports = {
'storybook-addon-root-attribute/register', 'storybook-addon-root-attribute/register',
], ],
framework: '@storybook/react', framework: '@storybook/react',
staticDirs: [
{
from: '../static',
to: '/',
},
],
}; };

View File

@ -1,4 +1,6 @@
import '../src/css/custom.css'; 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'; import { withRootAttribute } from 'storybook-addon-root-attribute';
export const parameters = { export const parameters = {