Closed ovidiuch closed 9 years ago
@skidding how can I try this? I guess npm link won't work with webpack.
You can to clone react-component-playground
on this branch and edit the build output path to /path/to/your/project/node_modules/cosmos-js/node_modules/react-component-playground/build
. Then run node_modules/.bin/webpack
and it will place the bundle directly in your project, so when you run node_modules/.bin/component-playground
in your project you'll have this version of component playground running. Let me know if this makes sense.
I have built and copied react-component-playground into node_modules of my project, everything seem to work as expected! When are you going to merge this and publish a new version on npm?
I have built and copied react-component-playground into node_modules of my project, everything seem to work as expected! When are you going to merge this and publish a new version on npm?
Awesome. Later this evening.
Fixes https://github.com/skidding/cosmos/issues/130