Skip to content

Latest commit

 

History

History

README.md

Ok Blazor

Ok Nuget Version

Ok Blazor generally works equivalently to Nimble Blazor, so refer to the Nimble Blazor README.md. Any Ok Blazor-specific differences are listed below.

Getting Started

Any project using OkBlazor components will typically also be using NimbleBlazor components and SprightBlazor components (e.g. NimbleThemeProvider if nothing else). OkBlazor is not a superset of NimbleBlazor or SprightBlazor, but the ok-components bundle is a superset of the spright-components bundle and in-turn the nimble-components bundle. Follow the directions below to avoid issues:

  • Add references to the OkBlazor, SprightBlazor, and NimbleBlazor NuGet packages in your project

  • Include only the Ok all-components bundle in the HTML page (generally App.razor for Blazor Web Apps, or wwwroot/index.html for Blazor WebAssembly / Hybrid):

    <body>
        ...
        <!-- Do NOT also include the nimble-components bundle or spright-components bundle! -->
        <script src="_content/OkBlazor/ok-components/all-components-bundle.min.js"></script>
    </body>

Contributing

Follow the instructions in CONTRIBUTING.md to modify this library.