Skip to content

V5.1.100 Install/Upgrade steps #541

Description

@jbomhold3

New Installs

_Imports.razor

For Bootstrap 4 @using BlazorStrap.V4
For Bootstrap 5 @using BlazorStrap.V5

In _Host.cshtml for server side or index.html for wasm add the following
For bootstrap 4.

  • Head section
    • <link href="_content/BlazorStrap.V4/offcanvas.css" rel="stylesheet" /> or your custom version of it.
    • <link href=yourproject.styles.css" rel="stylesheet">
  • End of Body section
    • <script src="_content/BlazorStrap/popper.min.js"></script>
    • <script src="_content/BlazorStrap/blazorstrap.js"></script>

For bootstrap 5.
In _Host.cshtml for server side or index.html for wasm add the following

  • Head section
    • <link href=yourproject.styles.css" rel="stylesheet">
  • End of Body section
    • <script src="_content/BlazorStrap/popper.min.js"></script>
    • <script src="_content/BlazorStrap/blazorstrap.js"></script>

Upgrading from BlazorStrap 5.0.x

Add @using BlazorStrap.V5 in your _Imports.razor
Add package https://www.nuget.org/packages/BlazorStrap.V5/5.1.100

Upgrading from BlazorStrap 1.x

There is no direct upgrade path as some components have changed names and/or parameters.
Please follow new install steps to get started.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions