elmish-flatris
A Flatris and elm-flatris clone in Fable and Elmish. Current demo.
Requirements
- dotnet SDK 2.0.0 or higher
- node.js 4.8.2 or higher
- npm5: JS package manager
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
(ornpm-start
) is used to start the Fable daemon and run a script in package.json concurrently. It's a shortcut ofyarn-run [SCRIP_NAME]
, e.g.dotnet fable yarn-run start
.