1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/LongbowEnterprise-BootstrapBlazor

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
Внести вклад в разработку кода
Синхронизировать код
Отмена
Подсказка: Поскольку Git не поддерживает пустые директории, создание директории приведёт к созданию пустого файла .keep.
Loading...
README.md

Bootstrap Blazor Component

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

License Nuget Nuget Repo Size Commit Date Github build codecov

English | 中文


.NET Foundation

This project is part of the .NET Foundation and operates under their code 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 the MainLayout.razor

<BootstrapBlazorRoot>
    @Body
</BootstrapBlazorRoot>

Add the following to your HTML head section

it's either index.html or _Layout.cshtml/_Host.cshtml/App.razor depending on whether you're running WebAssembly or Server

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

Add the following script at the end of the body

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

Add the following to the relevant sections of Program.cs

builder.Services.AddBootstrapBlazor();

Usage

<Display Value="@_text"></Display>
<Button Text="Button" OnClick="@ClickButton"></Button>

@code {
    private string? _text;
    private void ClickButton(MouseEventArgs e)
    {
        _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 to JetBrains for providing free open source license

Комментарии ( 0 )

Вы можете оставить комментарий после Вход в систему

Введение

Библиотека компонентов пользовательского интерфейса Blazor с использованием стилей Bootstrap, адаптирована для мобильных устройств и поддерживает основные браузеры. Адаптирована под ABP, одновременно поддерживает NET6/NET7/NET8/NET9. *Примечание: в запросе нет кода или специальных тегов.* Развернуть Свернуть
C# и 4 других языков
Apache-2.0
Отмена

Обновления (58)

все

Участники

все

Недавние действия

Загрузить больше
Больше нет результатов для загрузки
1
https://api.gitlife.ru/oschina-mirror/LongbowEnterprise-BootstrapBlazor.git
git@api.gitlife.ru:oschina-mirror/LongbowEnterprise-BootstrapBlazor.git
oschina-mirror
LongbowEnterprise-BootstrapBlazor
LongbowEnterprise-BootstrapBlazor
main