--- url: https://developer.youcan.shop/themes/filters/assets/assetUrl.md --- # Asset Url Returns the CDN URL for a file in the assets directory of a theme. ## Example ```liquid {{ 'index.js' | asset_url }} ``` ::: tip Output https://cdn.youcan.shop/s/files/1/0561/7470/6753/t/1/assets/index.js?v=173664653397615025201664456763 :::