No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    to install jQuery in quasar

    Framework
    4
    4
    846
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      bravo-jack last edited by

      it works to me, but not as a plugin. I successfully install jQuery by create the jquery.js file in src/boot/jquery.js, and modified the quasar.conf.js like this:

      ...
      boot: [
        'jquery',
      ]
      ...
      

      Re: Jqeury as $ in latest quasar version

      metalsadman 1 Reply Last reply Reply Quote 0
      • s.molinari
        s.molinari last edited by

        You really should avoid using jQuery. There is no reason to use it or maybe I should say, Vue (and React, etc.) were built to be the next level of UI framework. Putting jQuery in Quasar is like buying a new car and using your old car to tow the new car to get around.

        Scott

        I 1 Reply Last reply Reply Quote 1
        • I
          Ilia @s.molinari last edited by

          @s-molinari I would say that sometimes there is a specific old module written in qQuery which, frankly, should work in the next level of UI framework which kinda forces to use jQuery until the one finds/writes/buys a better solution for the modern environments.

          1 Reply Last reply Reply Quote 0
          • metalsadman
            metalsadman @bravo-jack last edited by

            @bravo-jack if you just need those common jquery functions, i find this gist useful for vanilla js equivalent https://gist.github.com/joyrexus/7307312.

            1 Reply Last reply Reply Quote 1
            • First post
              Last post