abp - 如何在 _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>
}
- 如何在 ABP v1.0 中创建自定义 _Layout 页面
- 如何运行 _ViewStart 页面
- 如何创建登录页面或其他 UI 内容
谢谢
解决方案
推荐阅读
- java-8 - 如何转换列表
进入地图 > - python - Trouble to read an excel file with pandas
- rust - How to put heterogeneous types into a Rust structure
- python - 嵌套搜索光标的问题。并按位置选择
- html - 可以比 body 大的居中 div
- django - 在 Django 中哪里可以编写纯 Python 代码?
- maxima - 如何将多个匿名函数的列表传递给 plot2d?
- ruby-on-rails - Rails 应用程序中的生产环境变量
- typescript - 如何获取使用 ts-loader 的样式组件的类型?
- javascript - Javascript mouseDown - 无法读取未定义的 currentTarget