Skip to content

Latest commit

 

History

History
51 lines (32 loc) · 655 Bytes

README.md

File metadata and controls

51 lines (32 loc) · 655 Bytes

frontroute example

frontroute + Laminar example project.

Running

Install npm dependencies:

yarn 

Build the front-end:

sbt frontendJS/fastLinkJS

Start the webpack dev server:

yarn dev

Open in a browser

Open http://localhost:30290/ in the browser.

Developing

To make sbt re-compile the front-end on code changes:

sbt ~frontendJS/fastLinkJS

Production build

Build an optimized JS:

sbt frontendJS/fullLinkJS

Run webpack:

yarn run build

The front-end assets will be generated into the dist folder.