Skip to content
This repository was archived by the owner on Dec 2, 2022. It is now read-only.

Files

Latest commit

 

History

History

nodejs

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Fable Node.js App

This is a simple Fable Node.js app.

Requirements

Building and running the app

  • Install JS dependencies: npm install
  • Build Node.js app npm run build
  • Try Node.js app node build/App.js

Project structure

npm

JS dependencies are declared in package.json, while package-lock.json is a lock file automatically generated.

Fable-splitter

Fable-splitter is a standalone tool which outputs separated files instead of a single bundle. Here all the js files are put into the build dir. And the main entry point is our App.js file.

F#

The sample only contains two F# files: the project (.fsproj) and a source file (.fs) in the src folder.