1

This is link jquery in my local

../pub/static/frontend/../../en_US/jquery/jquery.min.js

and I want change to

https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js

Anyone help me?

1

app/design/frontend///Magento_Theme/layout/default_head_blocks.xml

<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <head>
        <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js" src_type="url" />        
    </head>
</page>
| improve this answer | |
  • it can add a new link on my page but not replace this: ../pub/static/frontend/../../en_US/jquery/jquery.min.js. And I do not know find it. please help me – Nguyen Cong Binh Dec 20 '16 at 9:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.