A basic example of using CefSharp to allow interaction between a React frontend and an F#/.NET backend.
- Node.js for compiling the front-end
- Visual Studio with F# for compiling the back-end
- In the
ChromeFSharp.Resource
directory, run:npm install
. This will install the dependencies of the front-end. - Once the dependencies have been installed, run:
npm run build
. This will compile the front-end into an optimized HTML app inChromeFSharp.Resource/build
. - Build
ChromeFSharp.sln
. This will produceChromeFSharp.exe
that will open theindex.html
of the front-end on launch.