Fable minimal templates with the most recent versions of npm
and dotnet
libraries. Each template contains README.md
with instructions, but usually it's just a simple npm install && npm start
.
fable-empty
containsFable
withoutReact
orElmish
npm
libsdotnet
libs
fable-react
containsReact
bindings forFable
with several examples withoutElmish
npm
libsdotnet
libs
fable-react-elmish
containsReact
bindings andElmish
architecture forFable
- install templates
dotnet new -i Semuserable.Fable.Templates::*
- use templates
dotnet new fable-empty
dotnet new fable-react
dotnet new fable-react-elmish
- uninstall templates
dotnet new -u Semuserable.Fable.Templates
- uninstall existing templates
dotnet new -u Semuserable.Fable.Templates
- install new templates
dotnet new -i Semuserable.Fable.Templates::*
All templates are located in templates
folder. Create new folder and put new template there. Use the existing ones as an example.
- edit
templatepack.csproj
to change package details - create a package
dotnet pack
- new package will be in
bin/debug
folder (ex.Semuserable.Fable.Templates.1.0.0.nupkg
)