solid-meta icon indicating copy to clipboard operation
solid-meta copied to clipboard

[Feature Request] Script Tag

Open SushiWaUmai opened this issue 2 years ago • 5 comments

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

Support would be greatly appreciated.

SushiWaUmai avatar May 31 '22 19:05 SushiWaUmai

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

wiredmatt avatar Jun 13 '22 00:06 wiredmatt

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.

SushiWaUmai avatar Jun 13 '22 04:06 SushiWaUmai

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)

wiredmatt avatar Jun 16 '22 14:06 wiredmatt

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)

zamanruhy avatar Aug 31 '22 03:08 zamanruhy

yes, would be really usefull

0-don avatar Apr 14 '24 20:04 0-don