Skip to content

Latest commit

 

History

History
29 lines (15 loc) · 2.27 KB

README.md

File metadata and controls

29 lines (15 loc) · 2.27 KB

fable3-samples

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?

Easy like 1,2,3

  1. browser, a simple canvas experiment to get started with Fable and the Browser DOM Api

  2. nodejs, a simple Node.js app with .fs files transpiled as independent .js files

  3. nodejsbundle, a simple Node.js app bundled into one single .js file. Note: this sample hasn't been updated to Fable 3 yet.

  4. 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!

Advanced

  1. minimal, a great sample featuring a React Single Page Application and Elm architecture. Great to get started with Fable for real.

  2. 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.

  3. 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.

  4. withPaket, desperate to add many .NET NuGet packages without conflicts? Let's use paket in your project!

  5. 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!