solidjs / solid-meta

Write meta tags to the document head
127 stars 16 forks source link

[Feature Request] Script Tag #11

Open SushiWaUmai opened 2 years ago

SushiWaUmai commented 2 years ago

It'd be nice if you could use script tags.

Support would be greatly appreciated.

wiredmatt commented 2 years ago

Overwrite your index.html and add the script tag there, for now there doesn't seem to be support to add them in the MetaProvider

SushiWaUmai commented 2 years ago

This feature seems to be really easy to add but I wonder if this is necessary since @solid-primitives/script-loader already implements this feature.

wiredmatt commented 2 years ago

Does it work well in the MetaProvider? (I ended up moving to another framework as we have a lot of scripts that must run properly)

neurocmd commented 1 year ago

It would be nice to have this feature. I'm currently using Solid for ssg purposes in vite and I need to modify index.html to add or remove some blocking script (eg related to dark/light theme)

0-don commented 4 months ago

yes, would be really usefull