- Paket-Bootstrap
npm install
oryarn install
cd src
dotnet restore
dotnet fable {npm|yarn}-{build|start}
. Ordotnet fable start
and thennpm {build|start}
-
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
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.