How can I install swiper.js to my project without using CDN?

Serafeim
New Member
10 0 0

Hello. Does anyone know how can I install swiper.js to my project but not with CDN

Replies 5 (5)

DP_Development
Shopify Partner
120 14 30

It should work, if you create an empty js file in the code editor in your assets folder and than copy and paste the contents of your js file. 

Software Engineer and Frontend Developer
Fast, cheap and straightforward solutions! Shall I do this for you? Just send me a message!
Please click on like and "accepted solution" if my answer helped you.
Serafeim
New Member
10 0 0

Sorry can you explain more? i want follow the steps

DP_Development
Shopify Partner
120 14 30

- Go to your shopify code editor

- Go to assets

- Create a js file

- Take your original js file, open it, copy the content

- Back to your shopify code editor

- Paste the content

- Save

- Have fun

Software Engineer and Frontend Developer
Fast, cheap and straightforward solutions! Shall I do this for you? Just send me a message!
Please click on like and "accepted solution" if my answer helped you.
Serafeim
New Member
10 0 0

if i upload the original file ?

DP_Development
Shopify Partner
120 14 30

Sorry mate, of course this should also work, if you upload it in the code editor. My bad.

Software Engineer and Frontend Developer
Fast, cheap and straightforward solutions! Shall I do this for you? Just send me a message!
Please click on like and "accepted solution" if my answer helped you.