ABP – MVC 如何开发自定义主题

huangapple go评论66阅读模式
英文:

ABP - MVC How to develop a own custom theme

问题

我正在寻找一个关于如何为ABP MVC实现自定义主题的教程文章。有相关的信息吗?我只找到了这个链接 https://docs.abp.io/en/commercial/latest/themes/lepton-x/index。是否有更详细的文章来实现这一功能?我想要在用户界面中实现切换普通主题和客户主题的可能性。

谢谢你的帮助。

英文:

I am looking for days for a howto article how to implement an own theme for abp mvc.
Is there any info? I only found this link
https://docs.abp.io/en/commercial/latest/themes/lepton-x/index. Is there any more detailed article to implement this. I want to have the possibility to switch between the normal theme and a customer theme in the ui.

Thanks for your help

答案1

得分: 1

ABP社区网站上有一篇文章,介绍了如何通过复制MVC UI 1的基本主题来创建新的UI主题。该文章提供了逐步指南,说明如何创建新的解决方案,将基本主题项目复制到解决方案中,删除Web项目中的基本主题NuGet包,构建基本主题项目,修复错误,在Web项目中引用新添加的本地基本主题项目,并在基本主题项目中进行更改以查看其效果1。

您还可以在ABP的文档中心23中找到有关主题的更多信息。创建新主题的最简单方式是添加带有源代码的基本主题源代码模块并自定义它。

链接:https://docs.abp.io/en/abp/latest/UI/AspNetCore/Theming

英文:

There is an article on the ABP Community website that explains how to create a new UI theme by copying the Basic Theme for MVC UI 1. The article provides a step-by-step guide on how to create a new solution, copy the Basic Theme project into the solution, remove the Basic Theme NuGet package in the Web project, build the Basic Theme project, fix errors, reference the newly added local Basic Theme project in the Web project, and make changes in the Basic Theme project to see it in action 1.

You can also find more information about theming in ABP’s documentation center 23. The easiest way to create a new theme is by adding the Basic Theme Source Code module with source codes and customizing it

https://docs.abp.io/en/abp/latest/UI/AspNetCore/Theming

huangapple
  • 本文由 发表于 2023年6月26日 18:32:44
  • 转载请务必保留本文链接:https://go.coder-hub.com/76555852.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定