Skip to content

Disable the use of inline scripts in the vitepress build #4585

Closed Answered by brc-dd
tsposato asked this question in Q&A

You must be logged in to vote

First two are needed to prevent flashes on initial load. The third one can be moved to separate chunk by setting metaChunk: true in .vitepress/config.

Replies: 3 comments 9 replies

You must be logged in to vote
6 replies
@tsposato

@brc-dd

Answer selected by tsposato
@tsposato

@brc-dd

@tsposato

@brc-dd

You must be logged in to vote
1 reply
@brc-dd

You must be logged in to vote
2 replies
@brc-dd

@adiroiban

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