Posts

Showing posts with the label Paket

Keep your UI framework up to date for your WebSharper SPA with Paket GitHub dependencies

Keep your UI framework up to date for your WebSharper SPA with Paket GitHub dependencies Have you ever been guilty of referencing Bootstrap in your web app just to use one feature (like the navbar for example)? Hunting for the most full featured CSS/JS UI framework for hours. Referencing a huge framework just to use one or two features. Bootstrap , Foundation , MUI or Materialize , there are so many that it takes a lot of time to find the one that fits your needs. Few months back, I started to build a prototype to manage expenses and all I needed was a navbar and a card style. Because of bad habits, I directly started to hunt for a UI framework which would provide me beautiful cards. After few hours of search, I realised how time consuming that was and most importantly how unlikely would it be for me to find something tailored for my needs. So I decided to do something that I should have done long ago - Build my own tailored JS/CSS UI framework . So today, I will share what I’...

Quick setup with Paket and .fsx scripts

Quick setup with Paket and .fsx scripts Paket is a dependency manager. It is useful especially when you want to develop .fsx files where the full path of the dependencies are hardcoded in your script. It makes it easier to manage dependencies compared to Nuget because the version of the library isn’t included in the path. This post will show how to setup a new .fsx file with dependencies handled by Paket. Initialize Paket and download libraries Download paket.boostrapper.exe from here . Place it under \.paket and run it: .paket \ paket .bootstrapper .exe It will download the latest version of paket.exe . Now run init to initialize paket for your solution: .paket \ paket .exe init Your solution is now ready to get the libraries. Now to install a library run: .paket\paket .exe add project TestProject nuget MathNet .Numerics .FSharp project is used to specify a project and nuget is used to specify a nuget package to be downloaded. After running the command, you will n...