ChristophP / web-react-components

Reuse your react components, for example in Elm or any other technology by wrapping them easily into a Web Component.
58 stars 5 forks source link

Expose the webcomponent as a JS bundle #39

Open ridan opened 5 years ago

ridan commented 5 years ago

Currently it seems the app turns the react component into a Webcomponent and that Webcomponent is accessible in the app somehow(no idea). Would there be a way to configure the tool to spit out all the Webcomponents into separate JS bundles so they can be reused in other projects?

ChristophP commented 4 years ago

@ridan sorry for the long delay. If you're trying to reuse the components that you are creating you can use the convert function to create components which you will turn into your own library yourself. web-react-components is a library not a build tool but you could achieve what you asked about in the way I suggested.