https://github.com/ontouchstart/samples-browser/tree/docker
319
yarn installdotnet restorecd srcdotnet restoredotnet fable yarn-startlocalhost:8080/[EXAMPLE] (e.g. http://localhost:8080/ozmo)Any modification you do to the F# code will be reflected in the web page after saving.
If you want to write JS files to disk instead of using the development server,
run dotnet fable yarn-build.
public/samples.json5: id, entry file (usually the .fsproj), title and description; in one of the three categories: "games", "visual" or "productivity".src directory and another one to public. The first one will contain the F# (and maybe JS) source files, while the second contains the public assets for the sample (like index.html, images, etc).Fable.Samples.sln solution: dotnet sln add src/my-sample/My.Sample.fsprojdotnet restoreContent type
Image
Digest
Size
976.9 MB
Last updated
over 8 years ago
docker pull ontouchstart/fsharp-fable-samples