1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00
metamask-extension/.storybook
Mark Stacey f1c9f1ab68
Fix Font Awesome in Storybook build (#8304)
The Font Awesome font wasn't loaded correctly in the Storybook build.
Unlike our other fonts, Font Awesome is copied from `node_modules` at
build-time rather than being saved directly in `app/fonts`.

The `copy-webpack-plugin` plugin is now used in the Storybook webpack
build to copy the fonts explicitly from `node_modules` into the build
output directory. The font now seems to load correctly in Storybook.
2020-04-08 10:22:20 -03:00
..
main.js Allow changing Storybook preview backgrounds (#8111) 2020-02-26 13:40:53 -04:00
preview.js Use updated I18nProvider in storybook (#8232) 2020-03-24 19:31:47 -04:00
README.md Switch from npm to yarn (#6843) 2019-07-30 15:36:23 -03:00
webpack.config.js Fix Font Awesome in Storybook build (#8304) 2020-04-08 10:22:20 -03:00

Storybook

We're currently using Storybook as part of our design system. To run Storybook and test some of our UI components, clone the repo and run the following:

yarn
yarn storybook

You should then see:

info Storybook started on => http://localhost:6006/

In your browser, navigate to http://localhost:6006/ to see the Storybook application. From here, you'll be able to easily view components and even modify some of their properties.