elmish-flatris

A Flatris and elm-flatris clone in Fable and Elmish. Current demo.

Requirements

Although is not a Fable requirement, on macOS and Linux you'll need Mono for other F# tooling like Paket or editor support.

Building and running the app

  • Install JS dependencies: npm install
  • Move to src folder: cd src
  • Install F# dependencies: dotnet restore
  • Start Fable daemon and Webpack dev server: dotnet fable npm-start
  • In your browser, open: http://localhost:8080/

dotnet fable yarn-start (or npm-start) is used to start the Fable daemon and run a script in package.json concurrently. It's a shortcut of yarn-run [SCRIP_NAME], e.g. dotnet fable yarn-run start.