项目
在 GitHub 查看 Bootstrap 5
Bootstrap 4
chanan/BlazorStrap
chanan/BlazorStrap has 932 GitHub stars and 159 forks. GitHot measured 0 stars in 24 hours and 0 in 7 days. Last checked 2026-11-22 21:29 UTC. Last push 2026-10-27.
实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 正在收集历史
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
关于
Bootstrap 4 Components for Blazor Framework
开发工具README.md
原文BlazorStrap
Bootstrap 4/5 components for Blazor
Bootstrap 5 
We do not include bootstrap.min.css in the package. This already exists in the blazor wasm and blazor server side templates.
Packages
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
Install
Blazor WebAssembly
- Modify your index.html with the following.
- Inside the
<head>add<link href="YourAssemblyName.styles.css" rel="stylesheet">)<link href="path_to_bootstrap.min.css" rel="stylesheet" integrity="if_needed" />"
- At the end of the
<body>add<script src="_content/BlazorStrap/popper.min.js"></script>
- Inside the
- In
Program.csaddbuilder.Services.AddBlazorStrap();
- In
_Imports.razoradd@using BlazorStrap.V5
Blazor Server Side
- Modify your _host.cshtml with the following.
- Inside the
<head>add<link href="YourAssemblyName.styles.css" rel="stylesheet"><link href="path_to_bootstrap.min.css" rel="stylesheet" integrity="if_needed" />"
- At the end of the
<body>add<script src="_content/BlazorStrap/popper.min.js"></script>
- Inside the
- In
Program.csorStartup.csaddServices.AddBlazorStrap();to your build pipeline
- In
_Imports.razoradd@using BlazorStrap.V5
Bootstrap 4 
We do not include bootstrap.min.css in the package. This already exists in the blazor wasm and blazor server side templates.
Install
Blazor WebAssembly
- Modify your index.html with the following.
- Inside the
<head>add<link href="YourAssemblyName.styles.css" rel="stylesheet">)<link href="path_to_bootstrap.min.css" rel="stylesheet" integrity="if_needed" />"
- At the end of the
<body>add<script src="_content/BlazorStrap/popper.min.js"></script>
- Inside the
- In
Program.csaddbuilder.Services.AddBlazorStrap();
- In
_Imports.razoradd@using BlazorStrap.V4
Blazor Server Side
- Modify your _host.cshtml with the following.
- Inside the
<head>add<link href="YourAssemblyName.styles.css" rel="stylesheet"><link href="path_to_bootstrap.min.css" rel="stylesheet" integrity="if_needed" />"
- At the end of the
<body>add<script src="_content/BlazorStrap/popper.min.js"></script>
- Inside the
- In
Program.csorStartup.csaddServices.AddBlazorStrap();to your build pipeline
- In
_Imports.razoradd@using BlazorStrap.V4
Extensions:
探索相关项目
加载中…