Asp.net core ASP.NET Core 2.2.0身份脚手架仍在使用bootstrap 3
我正在运行身份代码生成器Asp.net core ASP.NET Core 2.2.0身份脚手架仍在使用bootstrap 3,asp.net-core,asp.net-core-mvc,entity-framework-core,Asp.net Core,Asp.net Core Mvc,Entity Framework Core,我正在运行身份代码生成器 dotnet aspnet-codegenerator identity -dc WebApplication1.Data.ApplicationDbContext --force 但是输出的页面是基于bootstrap3的——我读到的建议应该是bootstrap4eg 要获得基于BS4的身份页,我还需要做些什么 注: 我已确保工具是最新的: dotnet tool update --global dotnet-aspnet-codegenerator Tool 'd
dotnet aspnet-codegenerator identity -dc WebApplication1.Data.ApplicationDbContext --force
但是输出的页面是基于bootstrap3的——我读到的建议应该是bootstrap4eg
要获得基于BS4的身份页,我还需要做些什么
注:
我已确保工具是最新的:
dotnet tool update --global dotnet-aspnet-codegenerator
Tool 'dotnet-aspnet-codegenerator' was reinstalled with the latest stable version (version '2.2.0').
你试过这个吗:
services.AddDefaultIdentity<IdentityUser>()
.AddDefaultUI(UIFramework.Bootstrap4) // specifying the boostrap4 here
.AddEntityFrameworkStores<ApplicationDbContext>();
你试过这个吗:
services.AddDefaultIdentity<IdentityUser>()
.AddDefaultUI(UIFramework.Bootstrap4) // specifying the boostrap4 here
.AddEntityFrameworkStores<ApplicationDbContext>();