frontroute + Laminar example project.
Install npm dependencies:
yarn
Build the front-end:
sbt frontendJS/fastLinkJS
Start the webpack dev server:
yarn dev
Open http://localhost:30290/ in the browser.
To make sbt re-compile the front-end on code changes:
sbt ~frontendJS/fastLinkJS
Build an optimized JS:
sbt frontendJS/fullLinkJS
Run webpack:
yarn run build
The front-end assets will be generated into the dist
folder.