首页 > 解决方案 > 如何在 _ViewStart ABP 框架 abp.io 中更改 _Layout

问题描述

我通过从https://abp.io/get-started直接下载创建了一个新项目,并且项目中没有 _Layout 页面。_Layout 页面继承自框架 dll。

我创建了一个 _Layout 页面,但 _ViewStart 页面不起作用。在下面的代码示例中,指定了链接 href 为“/Account/Login”,但项目中没有 Account 或 Login 页面。所有这些都来自 Volo.Abp.Account

@if (!CurrentUser.IsAuthenticated)
{
    <a abp-button="Primary" href="/Account/Login" class="px-4"><i class="fa fa-sign-in"></i> @L["Login"]</a>
}
  1. 如何在 ABP v1.0 中创建自定义 _Layout 页面
  2. 如何运行 _ViewStart 页面
  3. 如何创建登录页面或其他 UI 内容

谢谢

标签: abp

解决方案


推荐阅读