fable-import-virtualdom
Fable bindings for virtual-dom
Installation
$ npm install --save virtual-dom fable-core$ npm install --save-dev fable-arch
Usage
In an F# project (.fsproj)
node_modules\fable-arch\Fable.Arch.dll
In an F# script (.fsx)
#r "node_modules/fable-core/Fable.Core.dll"#r "node_modules/fable-arch/Fable.Arch.dll" open Fable.Coreopen Fable.Importopen Fable.Archopen Fable.Arch.Appopen Fable.Arch.App.AppApiopen Fable.Arch.Html
Rollup
If you are using Rollup as the bundler you need to tell it how to bundle virtual-dom.
Example:
"rollup":