Skip to content

Controlling Load Order of HTML Head Elements in Vike's SSR Process #2528

Discussion options

You must be logged in to vote

Hi Dido, have you tried to assets.sort() inside https://vike.dev/injectFilter? I believe it already works (if it doesn't then it's something Vike can implement.)

Together with #695 it gives you complete control over the order of <head> tags — but let me know if you can think of a use case that wouldn't be covered.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@ChristophP
Comment options

@brillout
Comment options

@ChristophP
Comment options

@brillout
Comment options

@ChristophP
Comment options

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