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

Why popup page has no style? #33

Open
Cjw-259 opened this issue Oct 12, 2022 · 1 comment
Open

Why popup page has no style? #33

Cjw-259 opened this issue Oct 12, 2022 · 1 comment

Comments

@Cjw-259
Copy link

Cjw-259 commented Oct 12, 2022

Popup pages have no style , demo : https://github.com/Cjw-259/chrome-extension-demo ,Try npm run build, then add to chrome extension

@Cjw-259 Cjw-259 changed the title Why is the popup page style gone? Why popup page has no style? Oct 12, 2022
@dylan880507
Copy link

Popup pages have no style , demo : https://github.com/Cjw-259/chrome-extension-demo ,Try npm run build, then add to chrome extension

I also ran into the same problem. I found that popup html did not get a reference to css which belongs to popup.
Just a thinking, you can append the css reference to body of popup html during the page generation.

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