Skip to content

BlazorStrap 5.1.100-Beta1

Pre-release
Pre-release
Compare
Choose a tag to compare
@jbomhold3 jbomhold3 released this 23 Jul 16:24
· 133 commits to master since this release

Docs https://blazorstrap.io/Beta/

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
For bootstrap 4.

  • 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

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

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.