What are the Best Practices for using JS libraries when submitting to Theme Store?

rowclayt
Shopify Partner
1 0 0

Hello,

I am currently working on my very first Shopify theme, and I would appreciate some clarification on the proper implementation of JavaScript libraries to ensure compliance with the Shopify Theme Store's requirements.

 

Per the Theme Store Requirements, any scripts included in a theme's code "must be hosted on Shopify's servers, with the exception of approved third-party libraries."

Does this mean that I cannot include libraries via a CDN such as jsDeliver? 

Let's assume, for example, that I'd like to add SplideJS to a theme. What are the best practices and theme-store-approved methods for doing so?

Thanks in advance for your assistance! 

Replies 0 (0)