We do not include bootstrap.min.css in the package. This already exists in the blazor wasm and blazor server side templates.
Core Package handles all the logic / JSInterop
Display packages. These packages so the rendered components. V5 is for Bootstrap 5. V4 is for Bootstrap 4
Pre Release
<head>
add
<link href="YourAssemblyName.styles.css" rel="stylesheet">
)<link href="path_to_bootstrap.min.css" rel="stylesheet" integrity="if_needed" />"
<body>
add
<script src="_content/BlazorStrap/popper.min.js"></script>
Program.cs
add
builder.Services.AddBlazorStrap();
_Imports.razor
add
@using BlazorStrap.V5
<head>
add
<link href="YourAssemblyName.styles.css" rel="stylesheet">
<link href="path_to_bootstrap.min.css" rel="stylesheet" integrity="if_needed" />"
<body>
add
<script src="_content/BlazorStrap/popper.min.js"></script>
Program.cs
or Startup.cs
add
Services.AddBlazorStrap();
to your build pipeline_Imports.razor
add
@using BlazorStrap.V5
We do not include bootstrap.min.css in the package. This already exists in the blazor wasm and blazor server side templates.
<head>
add
<link href="YourAssemblyName.styles.css" rel="stylesheet">
)<link href="path_to_bootstrap.min.css" rel="stylesheet" integrity="if_needed" />"
<body>
add
<script src="_content/BlazorStrap/popper.min.js"></script>
Program.cs
add
builder.Services.AddBlazorStrap();
_Imports.razor
add
@using BlazorStrap.V4
<head>
add
<link href="YourAssemblyName.styles.css" rel="stylesheet">
<link href="path_to_bootstrap.min.css" rel="stylesheet" integrity="if_needed" />"
<body>
add
<script src="_content/BlazorStrap/popper.min.js"></script>
Program.cs
or Startup.cs
add
Services.AddBlazorStrap();
to your build pipeline_Imports.razor
add
@using BlazorStrap.V4