Open Closed

Upgrade from abp 5 to 7.4 LeptonX package issues #6401


User avatar
0
Dina created

ABP Framework version: v7.4 UI Type: MVC Database System: EF Core (SQL Server)

Hi, We have an issue while upgrading a project from abp version 5 to 7.4.2, we want to use LeptonX instead of the Lepton theme.

So when we run the command "dotnet add package Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX --prerelease"

using Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX;

is added to the ProjectWebModule.cs , but the package is not installed !!

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

9 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    Hi,

    We have a document, you can check it:

    https://docs.abp.io/en/commercial/7.4/themes/lepton-x/mvc

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    Dina created

    Yes, we already checked the document but "abp add-package Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX" command does not install the package correctly!

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    Dina created

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    Hi,

    Sorry, should install the version 2.4.3.

    You can try add this to the Web.csproj file

    <ItemGroup>
        <PackageReference Include="Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX" Version="2.4.3" />
    </ItemGroup>
    
    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    Dina created

    Hi,

    We have two questions please, 1.Is there any configuration for lepton theme to use side menu not top menu cause latest version is using top? 2.what is the best way to add some meta tags in application without customizing theme in both lepton and leptonx?

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    Is there any configuration for lepton theme to use side menu not top menu cause latest version is using top?

    Do you mean leptonx? https://docs.abp.io/en/commercial/latest/themes/lepton-x/mvc#leptonxthememvcoptions

    what is the best way to add some meta tags in application without customizing theme in both lepton and leptonx?

    You can use the layout hook: https://docs.abp.io/en/abp/latest/UI/AspNetCore/Layout-Hooks

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    For lepton theme:

    You can use the settings:

    // MenuPlacement.Left
    // MenuPlacement.Top
    await SettingManager.SetForCurrentTenantAsync(LeptonThemeSettingNames.Layout.MenuPlacement, ...);
    

    Or appsettings.json

    {
      "Settings": {
        "Volo.Abp.LeptonTheme.Style": "Style6", /* Options: Style1, Style2... Style6 */
        "Volo.Abp.LeptonTheme.Layout.MenuPlacement": "Left", /* Options: Left, Top */
        "Volo.Abp.LeptonTheme.Layout.MenuStatus": "AlwaysOpened", /* Options: AlwaysOpened, OpenOnHover */
        "Volo.Abp.LeptonTheme.Layout.Boxed": "False", /* Options: True, False */
      }
    }
    
    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    Dina created

    ABP Framework version: v7.4.2 UI Type: MVC Database System: SQL Server

    Hi,

    While trying to download the source code of the LeptonX theme (any version) from abp suite, we got an error

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    Hi,

    Can you please create a new question, thanks.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 16, 2026, 14:50
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.