Creates a new script tag

Creates a new script tag

Shopify Partner
5 0 0

I have created a Shopify app using ` Shopify CLI tool by executing the below command(the server is up with ngrok). The folder structure is the same as

shopify app create node -n APP_NAME

 I wanted to add my JavaScript code to all the pages of a shop's storefront using[post]/admin/api/2022-01/script_tags...... In this example, src is set to `"src": ""`.


I have JavaScript code in the file `test`.js` file


My question is in which directory( do I need to include `test.js` file ?. What is the value for `src`?

Replies 0 (0)