Skip to content

How do I add a NuGet package to the Client?

Adding packages to the Client project is a very similar process to the Server, with a few key differences:

  • Any references to the Server directory should be Client

  • Client code written in F# is converted into JavaScript using Fable. Because of this, we must be careful to only reference libraries which are Fable compatible.

  • If the NuGet package uses any JS libraries you must install them.
    For simplicity, use Femto to sync - if the NuGet package is compatible - or install via NPM manually, if not.

There are lots of great libraries available to choose from.