ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

Forums OroCRM How do I add a external jQuery Plugin to my Bundle?

This topic contains 2 replies, has 2 voices, and was last updated by  spyout98 3 months, 2 weeks ago.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #65363

    spyout98
    Participant

    ?

    #65438

    omusiienko
    Participant

    The simple way is add a new dependency via https://cdnjs.com/ or just copy needed js component file to your repository

    Into these config files should add a new dependency:

    'jquery-mask-plugin': 'https://cdnjs.cloudflare.com/ajax/libs/jquery.mask/1.14.13/jquery.mask.min.js'
    After that you should clear cache and rebuild requirejs dependencies:

    Then this dependency will be available like: require('jquery-mask-plugin');

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

You will be redirected to [title]. Would you like to continue?

Yes No
ssossossosso