Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Bootstrap Blazor is an enterprise-level UI component library based on Bootstrap and Blazor.

License

NotificationsYou must be signed in to change notification settings

dotnetcore/BootstrapBlazor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Bootstrap Blazor is an enterprise-level UI component library based on Bootstrap and Blazor.

LicenseNugetNugetRepo SizeCommit DateGithub buildcodecov

English |中文


.NET Foundation

This project is part of the.NET Foundation and operates under theircode of conduct.

Online Examples

website

Environment

Quick Installation Guide

Install Package

dotnet add package BootstrapBlazor

Add the following to_Imports.razor

@using BootstrapBlazor.Components

Add the following to theMainLayout.razor

<BootstrapBlazorRoot>    @Body</BootstrapBlazorRoot>

Add the following to your HTML head section

it's eitherindex.html or_Layout.cshtml/_Host.cshtml/App.razor depending on whether you're running WebAssembly or Server

<linkrel="stylesheet"href="_content/BootstrapBlazor/css/bootstrap.blazor.bundle.min.css"/>

Add the following script at the end of the body

<scriptsrc="_content/BootstrapBlazor/js/bootstrap.blazor.bundle.min.js"></script>

Add the following to the relevant sections ofProgram.cs

builder.Services.AddBootstrapBlazor();

Usage

<DisplayValue="@_text"></Display><ButtonText="Button"OnClick="@ClickButton"></Button>@code{privatestring?_text;privatevoidClickButton(MouseEventArgse){_text=DateTime.Now.ToString();}}

Install CLI Template

  1. Install the template
dotnet new install Bootstrap.Blazor.Templates::*
  1. Create the Boilerplate project with the template
dotnet new bbapp

Contribution

  1. Fork
  2. Create Feat_xxx branch
  3. Commit
  4. Create Pull Request

Code of Conduct

This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community.For more information see the.NET Foundation Code of Conduct.

Donate

If this project is helpful to you, please scan the QR code below for a cup of coffee.

Sponsor

Thanks toJetBrains for providing free open source license

About

Bootstrap Blazor is an enterprise-level UI component library based on Bootstrap and Blazor.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

No packages published

Contributors168


[8]ページ先頭

©2009-2025 Movatter.jp