Abp报错:AbpException: No theme registered! Use AbpThemingOptions to register themes.

因为要做一个极简的点网站,所以创建了一个“单层应用”的解决方案,然后移除了完全用不上的模块。
最后运行,发现直接报错AbpException: No theme registered! Use AbpThemingOptions to register themes.
根据错误提示,搜寻源码,找到解决方案,在XXXModule文件,添加DependsOn依赖typeof(AbpAspNetCoreMvcUiBasicThemeModule)即可。

posted @ 2023-01-30 11:00  HUGO.CM  阅读(386)  评论(0编辑  收藏  举报