首页 > 解决方案 > How can I customize my _Layout [abp] framework, abp.io?

问题描述

I am new to ABP Framework (abp.io).

I want to customize _layout.cshtml.

It seems the _layout is in base classes. So how can I override it. And design my own _layout and use over all pages ?

标签: asp.net-corerazor-pagesabp

解决方案


要做你提到的你必须去 mvc / Views / Shared / Layout / _Layout.cshtml 那里你可以自定义默认布局。如果您想覆盖特定页面上的布局,您必须将其设置为 null,Layout = null


推荐阅读