Repository navigation
|
Is there a way to stop Here is my config: |
Answered by
brc-dd
Feb 28, 2025
Replies: 3 comments 9 replies
|
Can you specify which "inline scripts" are you exactly referring to? |
6 replies
|
I just wanted to say thanks to Divyansh for all the work and support. In some cases the "gods" from the security team are forcing strict CSP headers, as pages generated by vitepress can be served from the same domain as the main web application. The |
1 reply
|
The offending inline style is here ... line 19 vitepress/src/client/app/components/Content.ts Lines 12 to 20 in 23541b4 I can fix it with an hash...but it would be nice if we could have this in the CSS file |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
First two are needed to prevent flashes on initial load. The third one can be moved to separate chunk by setting
metaChunk: truein .vitepress/config.