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 install
in project directory - run
sbt fastOptJS
to compile the scalajs code. - run
gulp develop
to 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.