Getting Started with the SAFE Stack Template | F# Web Development | StonkWatch E...
source link: https://www.youtube.com/watch?v=E2xEauzPIzc
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Getting Started with the SAFE Stack Template | F# Web Development | StonkWatch Ep.6
For Freelance F# Software Development and Consulting, visit https://www.bengobeil.com/
To get started: https://safe-stack.github.io/docs/qui...
For the beta version of SAFE I mentioned in the video, use: dotnet new -i SAFE.Template::3.0.0-beta001
Instead of: dotnet new -i SAFE.Template
To build/run: dotnet tool restore dotnet run
Swap Feliz with Sutil:
1- Remove Index.fs file 2- Overwrite App.fs content with this file: https://github.com/davedawkins/sutil-... 3- Add Sutil as a dependency in your Client project
In paket, from the root of the solution: dotnet paket add -p src/Client/Client.fsproj Sutil
4- (optional) Remove Feliz/Fable dependencies from paket.references and paket.dependencies (Keep Fable.Core, Fable.Mocha) 5- (optional) Remove "react" and "react-dom" from packages.json
Here is the source code for StonkWatch: https://github.com/bengobeil/StonkWatch
Outro: Artist: Lakey Inspired Song: Warm Nights
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK