uicrooks / shopify-theme-lab

Shopify theme development environment using Liquid, Vue and Tailwind CSS. Built on top of Shopify CLI 🧪
https://uicrooks.github.io/shopify-theme-lab-docs/
MIT License
727 stars 128 forks source link

[Bug]: Fonts return "Failed to decode downloaded font" when uploaded following the docs #116

Closed ineptian closed 2 years ago

ineptian commented 2 years ago

Operating system

Windows 10

Node.js version

15.5.0

Shopify CLI version

2.1.0

Browsers

Chrome

Version

4 (Current)

Modifications

No response

Details

When adding fonts to my assets folder, and then referencing per the docs I get some errors.

It looks like the fonts might be being uploaded to shopify as the wrong type of file?

image

Notice

sergejcodes commented 2 years ago

This is a Shopify CLI bug. Currently, all binary file uploads are broken (images, fonts etc). Here's a comment from me on a similar issue in the Shopify CLI Repo

sergejcodes commented 2 years ago

This issue should now be fixed with the latest Shopify CLI 2.3.0 release.