This is the repository hosting samples for quite all your Fable needs. To start a new Fable project you can clone this repo and then copy/paste one of the projects. There aren't so many files inside each project so that should really be easy. Thanks a lot to @whitetigle for writing the samples and @delneg for updating them for Fable 3!
So what do we have here?
-
browser, a simple canvas experiment to get started with Fable and the Browser DOM Api
-
nodejs, a simple Node.js app with
.fs
files transpiled as independent.js
files -
nodejsbundle, a simple Node.js app bundled into one single
.js
file. Note: this sample hasn't been updated to Fable 3 yet. -
promises, do you like dogs? Display a ::dog:: pic everytime you refresh the page. Here we introduce promises and fetch to get random dog pics!
-
minimal, a great sample featuring a React Single Page Application and Elm architecture. Great to get started with Fable for real.
-
fulma, full fledged Single Page Application featuring React, Bulma CSS (Fulma) and Elm architecture. The de-facto template for nowadays web apps. We've got you covered with this template.
-
mocha, add tests to your Fable projects with the mocha lib! An easy to understand template with an architecture you can reproduce in already existing Fable projects.
-
withPaket, desperate to add many .NET NuGet packages without conflicts? Let's use paket in your project!
-
sqljs, adding an SQLite database to your web app for additional performance & smooth SQL API!
Don't forget to read our lovely hand written README file located in each folder! Thanks and have fun!