Code Monkey home page Code Monkey logo

lsw.abp.antdesignui's Introduction

Lsw.Abp.AntDesignUI

An Abp Blazor Theme based Ant-Design-Blazor !

NuGet NuGet

Samples

Check the samples

1 2

Quick Start

The first step is to use ABP CLI to create a new project.

abp new BookStore -u blazor

See the ABP official documentation to learn ABP framework.

Replace LeptonXLiteTheme with AntBlazorTheme packages

  • Remove Volo.Abp.AspNetCore.Components.WebAssembly.LeptonXLiteTheme Package.
  • Replace Volo.Abp.Identity.Blazor.WebAssembly with Lsw.Abp.IdentityManagement.Blazor.WebAssembly.AntDesignUI
  • Replace Volo.Abp.SettingManagement.Blazor.WebAssembly with Lsw.Abp.SettingManagement.Blazor.WebAssembly.AntDesignUI
  • Replace Volo.Abp.TenantManagement.Blazor.WebAssembly with Lsw.Abp.TenantManagement.Blazor.WebAssembly.AntDesignUI

**Open `_Imports.razor` and add with the following:**

```csharp
@using AntDesign
@using Lsw.Abp.AntDesignUI
@using Lsw.Abp.AntDesignUI.Components
@using Lsw.Abp.AspnetCore.Components.Web.AntDesignTheme.Layout

Open BookStoreBlazorModule make the following changes:

  • Remove the ConfigureBlazorise method
  • Fix wrong using namespace
  • Update module dependencies
    • For example, replace AbpIdentityBlazorWebAssemblyModule with AbpIdentityBlazorWebAssemblyAntDesignModule

Open BookStoreMenuContributor to update icon:

  • "fas fa-home" to IconType.Outline.Home
  • "fa fa-cog" to IconType.Outline.Setting

Open Index.razor and replace with the following:

@page "/"
@inherits BookStoreComponentBase

<AbpPageHeader Title="Index"></AbpPageHeader>

<div class="page-content">
    <div style="text-align: center">
        
        <Alert Type="@AlertType.Success"
               Message="Success"
               Description=" Congratulations, BookStore is successfully running!"
               ShowIcon="true"/>

        <Divider/>

    </div>
</div>

Run the dotnet build & abp bundle command in the BookStore.Blazor folder.

That's all, enjoy your code :).

3

Road map

Updating...

lsw.abp.antdesignui's People

Contributors

jadynwong avatar kefengwei avatar realliangshiwei avatar rqx110 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.