abpframework / abp

Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.
https://abp.io
GNU Lesser General Public License v3.0
12.99k stars 3.46k forks source link

abp bundle removes globaljs content in blazorWebapp project #21248

Open gatity opened 3 weeks ago

gatity commented 3 weeks ago

Is there an existing issue for this?

Description

After doing abp bundle in a new blazor webapp project, some parts of global.js is removed. the result is that dropdown in lepthonxlite theme doesn't work.(for example the part that user can logout and go to settings, or the dropdown for changing the language can not be clicked and displayed) I work with abp cli 8.3.2 and project version is 8.3.2 too

Reproduction Steps

No response

Expected behavior

No response

Actual behavior

No response

Regression?

No response

Known Workarounds

No response

Version

8.3.2

User Interface

Blazor

Database Provider

EF Core (Default)

Tiered or separate authentication server

None (Default)

Operation System

Windows (Default)

Other information

No response

maliming commented 3 weeks ago

hi

Thanks

gatity commented 3 weeks ago

hi thanks for your response, I just do new project

  1. abp new org.newproject -t app -u blazor-webapp -m none -csf

and then abp bundle in blazor.client project

  1. abp bundle

before abp bundle everything works fine, but after that logout dropdown andlanguage dropdown is not shown

maliming commented 2 weeks ago

What are the outputs of the abp bundle command? What are console messages in the browser?

gatity commented 2 weeks ago

no error is shown in browser. bootstrap part of global.js is removed the output of abp bundle is: E:\GitSolutions\Abp\org.newproject\src\ORG.NEWPROJECT.Blazor.Client>abp bundle ABP CLI 8.3.2 Generating style bundle... Style bundle has been generated successfully. Generating script bundle... Script bundle has been generated successfully. generated global.js is uploaded global.txt

maliming commented 2 weeks ago

ok, Can you upload a test project on GitHub? I will download and check it.

gatity commented 2 weeks ago

the repository URL is https://github.com/gatity/newproject I did 'abp bundle' and the language and account button is not clickable now my abp cli is updated to 8.3.3 and the problem is remained