search

Home  >  Q&A  >  body text

javascript - How can I import some jquery methods?

How can I import some jquery methods? Is there any ready-made solution? Or what parts need to be changed in jquery?

淡淡烟草味淡淡烟草味2731 days ago1084

reply all(2)I'll reply

  • 为情所困

    为情所困2017-06-28 09:27:22

    Try it

    import { ajax } from 'jquery'
    console.log(ajax)

    reply
    0
  • phpcn_u1582

    phpcn_u15822017-06-28 09:27:22

    No, jquery mounts all methods to the $object, and all methods must be referenced through the $object.

    reply
    0
  • Cancelreply