Fix Duplicate CSS or JS tags in Theme App Extension

Shopify Partner
3 0 0

Hi, I'm developing a theme app extension with one block.

Now if I add the block multiple times on the page the script and css tags are duplicated by the number of blocks.


Is there a way to include the CSS or JS only once event if there is 100 blocks scattered on the page ?



Replies 0 (0)