Welcome to the Liquify Community

Updated 3 hours ago

Webflow.js in conversion

I've used the starter template, and run through Liquify and it works great.

During the conversion, I noticed it converts the reference to webflow.js into /assets/webflow.js.liquid.

Then, in the theme it references as {{ 'webflow.js' | asset_url }} and indeed it loads fine.

However, with my OWN webflow project I get a different behavior. I've generated a webflow from Relume, and I've added the webflow.js reference into the <head> in the site settings. On conversion, it does the same thing, creating an asset of 'webflow.js.liquid' - however, it won't load and it 404s. I'm not sure what the difference is or why it's not loading the same. Theme.liquid references it in the exact same way.
j
j
3 comments
Hi @jason, you have referenced it via a script tag? Can you send me the setup?
Can you check in the code in shopify or github if the file exist in the asset folder?
Jonas - yes, that was all referenced and the file there but something else seemed to be the issue. I'm working on my own template (using Relume components) and I believe I just had another issue that was blocking the script from rendering properly.
Hi @jason, do you still have that issue? Do you managed to fin any solution?
Add a reply
Sign up and join the conversation on Discord