Why isn't my Shopify App script added in the header?

Shopify Partner
3 0 0

I have added const scriptTag = await shopify.scriptTag.create({ event: "onload", src: "https://example.com/script.js" }); this script in App.js in useEffect using Immediately invoke function and I have installed the app but the script is not added in the header why?




Replies 0 (0)