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

Refused to apply inline style because it violates the following Content Security Policy directive: "style-src 'self' 'nonce- #95

Open
VilleMiekkoja opened this issue Feb 21, 2020 · 0 comments

Comments

@VilleMiekkoja
Copy link

Browser console error: Refused to apply inline style because it violates the following Content Security Policy directive: "style-src 'self' 'nonce-...

With webpack and content security policy that does not allow 'unsafe-inline', the library cannot load styles. I followed the webpack usage guide and it doesn't work with 'unsafe-inline' content security policy.

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

1 participant