Automatically creates filename.js.liquid under Assets folder using Shopify App Dev code

Highlighted
New Member
3 0 0

Hi guys,

I've setup my Custom Shopify App using Polaris, that has Enable/Disable button.

 

My problem is the function that will automatically creates a filename.js.liquid when under Assets folder inside Shopify > Edit code, when Enabled.

Deletes the created filename.js.liquid, when button Disable is clicked.

 

Is it using mutation in GraphQL?

 

Thank you.

 

0 Likes