Skip to content
Discussion options

You must be logged in to vote

The full error message is descriptive, do style-src 'unsafe-inline or apply nonce. Here is guidance on how to apply nonce: https://react.fluentui.dev/?path=/docs/concepts-developer-advanced-configuration--page#content-security-policies-csp

Alternatively, you can configure CSS extraction and avoid runtime insertion and need for style-src 'unsafe-inline' at all, https://griffel.js.org/react/css-extraction/with-webpack.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@logicaloud
Comment options

Answer selected by layershifter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants