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

[Feature Request] 各应用间添加hash类名 样式隔离 #3034

Open
GeorgeHcc opened this issue Jan 10, 2025 · 1 comment
Open

[Feature Request] 各应用间添加hash类名 样式隔离 #3034

GeorgeHcc opened this issue Jan 10, 2025 · 1 comment

Comments

@GeorgeHcc
Copy link

GeorgeHcc commented Jan 10, 2025

Background

各应用间代码会有样式覆盖的可能

Proposal

给各应用间所有样式生成一个hash类名

Additional context

@GeorgeHcc GeorgeHcc changed the title [Feature Request] 主应用添加hash 样式隔离 [Feature Request] 主应用添加hash类名 样式隔离 Jan 10, 2025
@clivinn-shla81092
Copy link

Hello, we tried to solve the issue.

This is what we did:

Modify the main application's styles to include a unique hash class, and update the React render function to apply this class to the main app container.

You can review changes in this commit: clivinn-shla81092@ffedfd0.

Caution

Disclaimer: The concept of solution was created by AI and you should never copy paste this code before you check the correctness of generated code. Solution might not be complete, you should use this code as an inspiration only.


Latta AI seeks to solve problems in open source projects as part of its mission to support developers around the world. Learn more about our mission at https://latta.ai/ourmission . If you no longer want Latta AI to attempt solving issues on your repository, you can block this account.

@GeorgeHcc GeorgeHcc changed the title [Feature Request] 主应用添加hash类名 样式隔离 [Feature Request] 各应用间添加hash类名 样式隔离 Jan 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants