打开 关闭

Does anyone know how do I customize the any abp tag helper? #2763


User avatar
0
berkansasmaz 创建
支持团队 .NET Developer

I want to customize some abp tag helper or add a new tag helper


1 答案
  • User Avatar
    0
    berkansasmaz 创建
    支持团队 .NET Developer

    Creating a tag helper is standard, you can check Microsoft's documents. If you want to customize one of the ABP's tag helpers, you can create a class deriving from the taghelperservice class of any one (example: https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Button/AbpButtonTagHelperService.cs), then replace the original in the dependency injection system.

Made with ❤️ on ABP v8.2.0-preview Updated on 三月 25, 2024, 15:11