Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Css modules not getting nonce attribute - SolidJS
S
SolidJS
โข
17mo ago
โข
2 replies
Chris P Bacon
Css modules not getting nonce attribute
I am setting up my app with a strict CSP header and passing the nonce in
createHandler
createHandler
work as expected for all assets in the header
.
But I don
't get the nonce attribute on
<style />
<style />
elements that solid and
/or vite injects into the body for a route
's css module
.
does anyone maybe know how to solve this
? or otherwise point me to the code in solid
's repo where css modules are handled
SolidJS
Join
Solid is a declarative reactive Javascript library for creating user interfaces.
12,274
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
CSS Modules not updating without page refresh
S
SolidJS / support
2y ago
Style attribute not updating in Safari
S
SolidJS / support
2y ago
custom css classes not applied somehow
S
SolidJS / support
2y ago