What's inside
September 13, 2020 ยท View on GitHub
What's inside
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-emptycontainsFablewithoutReactorElmishnpmlibsdotnetlibs
fable-reactcontainsReactbindings forFablewith several examples withoutElmishnpmlibsdotnetlibs
fable-react-elmishcontainsReactbindings andElmisharchitecture forFable
How to use
- 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
How to upgrade
- uninstall existing templates
dotnet new -u Semuserable.Fable.Templates
- install new templates
dotnet new -i Semuserable.Fable.Templates::*
How to create
All templates are located in templates folder. Create new folder and put new template there. Use the existing ones as an example.
- edit
templatepack.csprojto change package details - create a package
dotnet pack
- new package will be in
bin/debugfolder (ex.Semuserable.Fable.Templates.1.0.0.nupkg)