scala-js and scalajs-react based user interface component library.
Currently in-dev, use at your own risk, apis subject to change.
- Run developer install script (install npm, etc)
- run
npm installin project directory - run
sbt fastOptJSto compile the scalajs code. - run
gulp developto run build and start a development server atlocalhost:8000
- Find the latest published version
- Add the scala dependency to your
build.sbt:
"io.github.cibotech" %%% "bedrock" % "{bedrockVersion}"- Include the stylesheet in your HTML header:
<link rel="stylesheet" href="https://cibotech.github.io/bedrock/resources/css/default.css" />The artifact bedrock-plots provides a React component that wraps and displays an EvilPlot Plot object.