Skip to content

funcysharp/fable-elm-react-tpl

Repository files navigation

Fable Elmish with React renderer Template

Build and run dev server

  • Paket-Bootstrap
  • npm install or yarn install
  • cd src
  • dotnet restore
  • dotnet fable {npm|yarn}-{build|start}. Or dotnet fable start and then npm {build|start}

Create Fable Elmish with React renderer Template from scratch

  • git clone https://github.com/funcysharp/fable-tpl

  • Add Elmish:

    paket add Fable.Elmish --project .\src\MyProject.fsproj

  • Add Elmish React renderer:

    paket add Fable.Elmish.React --project .\src\MyProject.fsproj npm i -S react react-dom

  • Other stuff

    npm i -D babel-plugin-transform-runtime npm i -D copy-webpack-plugin ...

  • Add src/index.html and webpack.config.js

See also

Packages update

Be carefull when update webpack related packages. It always unpredictable.

Always check npm run build and npm run start (after dotnet fable start) commands before commit package updates.

About

Fable Elmish with React renderer Template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published