Skip to content

semuserable/Semuserable.Fable.Templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NuGet Info

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.

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.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)