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

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

rowclayt
Shopify Partner
2 0 1

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 2 (2)

Md_Saad
Shopify Partner
1 0 0

Hi @rowclayt, did you get any solutions on that? Please let me know.

rowclayt
Shopify Partner
2 0 1

Hi, @Md_Saad - I still have not received a straightforward answer on this. How about you?