This example shows how to load the re-resizable
npm module which provides a resizable React component. Requires the lein-npm plugin.
- Add the npm module to the :npm :dependencies section of
project.clj
:
:npm {:package {:scripts {:build "webpack -p"}}
:dependencies [[react "16.4.0"]
[react-dom "16.4.0"]
["@cljs-oss/module-deps" "1.1.1"]