Skip to content

Files

Latest commit

f54be07 · Feb 1, 2020

History

History
 
 

react-bootstrap_0

cljsjs/react-bootstrap

[cljsjs/react-bootstrap "0.33.1-0"] ;; latest release

This jar comes with deps.cljs as used by the Foreign Libs feature of the ClojureScript compiler. After adding the above dependency to your project you can require the packaged library like so:

(ns application.core
  (:require cljsjs.react-bootstrap))

To use this with Boot, require boot-less like so:

(set-env!
  :dependencies '[[deraen/boot-less "0.6.2" :scope "test"]
                  [cljsjs/react-bootstrap "0.33.1-0"]])

create a "main.main.less" file within one of your source-paths with following content

@import "bootstrap/less/bootstrap";

and include the compiled "main.css" in your "index.html", then compile your cljs project e.g:

boot cljs less