elmish / templates

Other
42 stars 21 forks source link

Fable4 support #146

Closed zpodlovics closed 1 year ago

zpodlovics commented 1 year ago

Is there any plan to support / update to Fable4?

et1975 commented 1 year ago

Absolutely, we'll take a PR!

MangelMaxime commented 1 year ago

Latest version of the template has been upgraded to Fable 4 in June.

Please be sure to use the Fable.Template.Elmish.React because Fable.Template.Elmish.React.Demo has been deprecated. It was not providing real value compared to the other template, and having a single template to maintain makes it easier for us.

Instruction to install it are:

# First we install the template using the is Name
# For dotnet 1.x
dotnet new -i Fable.Template.Elmish.React::*
# For dotnet 2.x
dotnet new -i Fable.Template.Elmish.React

# Create a project called "awesome" using the Short Name of the template
# If you want to use yarn instead of npm add --yarn at the end of the command
dotnet new fable-elmish-react -n awesome -lang f#

# Move into your new project directory
cd awesome

If you still have a problem, feel free to comment below. 🙂