mrbuilder-plugin-react-styleguidist
v3.3.2
Published
Mrbuilder Plugin for styleguidist
Downloads
62
Readme
A MR Builder plugin that provides react-styleguidist capabilities
The configuration is defined here With the exception that "components" property is hijacked and replaced with module name.
- Note - react-styleguidist ships with an old version of webpack-dev-server, and mrbuilder ships with a newer one. If you get an error like:
module.js:549
throw err;
^
Error: Cannot find module 'webpack/bin/config-yargs'
at Function.Module._resolveFilename (module.js:547:15)
Please run to add it to your project, hopefully making it resolve before react styleguist.
$ yarn add webpack-dev-server@^4 -D
To see an example using lerna visit https://mr-builder.github.io/mrbuilder-example-styleguide/