Search code examples
f#fable-f#elmishsafe-stack

Fable.Reactstrap not defined on Client fsproj SATE-stack


I'm trying to use Fable.Reactstrap on Client project from SAFE.Template. I've added Fable.Reactstrap to Nuget, Paket, and NPM but still receive error FSHARP: The namespace 'Reactstrap' is not defined when executing dotnet run. It's an error from code:

open Fable.Reactstrap

The real code can be found on my github's repo. Fable.Reactstrap itself has been added to project's dependencies and added in paket.references.

How can I resolve this error and user Fable.Reactstrap in my project?


Solution

  • The namespace is just Reactstrap, so this should work:

    open Reactstrap
    

    See example code here.