Learn about Redwood and be one of the first to join the conversation

Visit Redwood Community
how I can use different cdn of font or min file while developing widgets in storefront ? — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

how I can use different cdn of font or min file while developing widgets in storefront ?

Received Response
11
Views
1
Comments

Summary:

I want to use cdn of theme.js and slider and font for creating product slider and cards while developing widgets in storefront I have try to do this with creating external js file and lodded in main js dependencies but it gives error i don't know whether it right method or not plz tell we ho wto do that

Content (required):

maked config.js file

requirejs.config({

    paths:{

        'fontawesome' : 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css',

        'animate' : 'https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css',

        'slickcss' : 'https://cdn.jsdelivr.net/npm/[email protected]/slick/slick.css'

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!