kenianbei / jscad-react

React component for rendering jscad models.
MIT License
17 stars 8 forks source link

Pure ES6 / React example #6

Open z3dev opened 2 months ago

z3dev commented 2 months ago

@kenianbei it seems that the current package cannot be used with pure ES6 imports and React rendering. There seems to be a lot of conflict between import and require. Can you provide an example of how to use this package? No JSX. Only import.

Maybe a different build is required?