developit / htm

Hyperscript Tagged Markup: JSX alternative using standard tagged templates, with compiler support.
Apache License 2.0
8.67k stars 170 forks source link

Question: blueprintjs + htm #197

Closed gurpal2000 closed 3 years ago

gurpal2000 commented 3 years ago

Has anyone successfully used blueprintjs (https://blueprintjs.com) with htm and es-react?

Loading CSS is fine, but how does one import @blueprintjs/core in the htm "no-build tools" environment and use say a simple Button widget? Does it require blueprint to modularise somewhat?

thanks

developit commented 3 years ago

You'd have to use the UMD bundles for Blueprint, otherwise it will attempt to import react, which will fail.