Hi Girish_Rajwani,
I think you should remove the block, and deploy the new version of extension. Then add the block to your theme again.
I guess it’s a caching issue.
Regards,
A developer is trying to include JavaScript files in Shopify theme app extensions but encounters persistent 404 errors.
Initial Problem:
{% javascript %} tags don’t work in theme app extensionsAttempted Solutions:
{{ 'filename.js' | asset_url | script_tag }} markupWorking Solution:
"javascript": "app.js"Status: Resolved. The original poster confirmed it worked after following the cache-clearing process. Another user later requested clarification on the exact steps.
Hi Girish_Rajwani,
I think you should remove the block, and deploy the new version of extension. Then add the block to your theme again.
I guess it’s a caching issue.
Regards,