Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

abp bundle removes globaljs content in blazorWebapp project #21248

Open
1 task done
gatity opened this issue Nov 4, 2024 · 6 comments
Open
1 task done

abp bundle removes globaljs content in blazorWebapp project #21248

gatity opened this issue Nov 4, 2024 · 6 comments
Labels

Comments

@gatity
Copy link

gatity commented Nov 4, 2024

Is there an existing issue for this?

  • I have searched the existing issues

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

@gatity gatity added the bug label Nov 4, 2024
@maliming
Copy link
Member

maliming commented Nov 5, 2024

hi

  • Reproduction Steps

Thanks

@gatity
Copy link
Author

gatity commented Nov 5, 2024

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
Copy link
Member

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

@gatity
Copy link
Author

gatity commented Nov 12, 2024

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
Copy link
Member

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

@gatity
Copy link
Author

gatity commented Nov 16, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants