GetDKAN / data-catalog-components

https://getdkan.github.io/data-catalog-components
9 stars 6 forks source link

Fix storybook so scss files work #132

Closed dgading closed 3 years ago

dgading commented 3 years ago

Instead of just adding some loaders during the preview build, I copied the Webpack settings from the Storybook docs and put them in the module exports in main.js

To test, I have included a very basic story for Card component that uses USWDS classes. Just pull the code, install node modules and run npm run storybook and checkout the Card component.

alexiscott commented 3 years ago

QA Pass! Builds locally.