For the angular project, can you share more information? Which button do you refer as 'the green button' maybe you can share a screenshot to help us understand better
Ok, It seems it's a bug on single-layer module template. I'm creating an internal issue for that and we'll fix it soon.
You can use the following steps to replace leptonx with basic theme.
Replace using statements
using Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX;
using Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX.Bundling;
with
using Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic.Bundling;
using Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic;
Replace typeof(AbpAspNetCoreMvcUiLeptonXThemeModule),
with typeof(AbpAspNetCoreMvcUiBasicThemeModule),
Replace the ConfigureBundles()
method inside like below:
private void ConfigureBundles()
{
Configure<AbpBundlingOptions>(options =>
{
options.StyleBundles.Configure(
LeptonXThemeBundles.Styles.Global,
bundle =>
{
bundle.AddFiles("/global-styles.css");
}
);
});
}
I just created application with the BasicTheme and couln't reproduce the problem.
Which application template did you create?
You can use this wildcard pattern to receive any preview or stable future leptonx 2.3 updates: 2.3.*-*
Hi, Support Team!
I upgraded the Blazor server solution to 7.2.2 and I get this error:
If I press reload, application loads OK. I log in, same error, then Reload, application loads OK.
The only difference from a standard template is that I have added the module Volo.Account.Pro, not as package.
Can you spot what could be wrong?
Also, when I published the app, folder profile, when I try to start it from the console I get:
Tks.
Can you tell me the LeptonX version in .csproj file?
It should be2.3.x
. Currently, 2.3.0-rc.1 version is released.
It seems, you inherited from different MainHeaderToolbar
and replaced different MainHeaderToolbar
in the service collection.
Can you check both MainHeaderToolbar in .razor file and .cs file. Both should be exact same type from the same namespace:
@inherits Volo.Abp.AspNetCore.Components.Web.LeptonXTheme.Components.ApplicationLayout.TopMenu.MainHeader.MainHeaderToolbar
namespace MyProject.Blazor.Components.Layout
{
[ExposeServices(typeof(Volo.Abp.AspNetCore.Components.Web.LeptonXTheme.Components.ApplicationLayout.TopMenu.MainHeader.MainHeaderToolbar))]
[Dependency(ReplaceServices = true)]
public partial class MyMainHeaderToolbar
{
public string Name = "My Main Header Toolbar";
}
}
Hi @dkaczor
This is shipped with v7.2
You can update your project to v7.2 to get the changes.
Please make sure the namespaces. There are 2 MainHeaderToolbar
classes from 2 different namespaces
Volo.Abp.AspNetCore.Components.Web.LeptonXTheme.Components.ApplicationLayout.TopMenu.MainHeader.MainHeaderToolbar
Volo.Abp.AspNetCore.Components.Web.LeptonXTheme.Components.ApplicationLayout.SideMenu.MainHeader.MainHeaderToolbar
Can you try placing facicon.ico
file in that folder too?
Hi,
These pages are in AuthServer. If you use separated AuthServer in your project, you should add favicon.svg file in your AuthServer project too.
wwwroot/favicon.svg