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

    How to use different versions in development environment

    CLI
    2
    3
    180
    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.
    • L
      lopu last edited by

      I have repositories which use v0.17 and some which use v1+, is there a quick way to switch between them or even use both using alias’?

      I’ve tried using npm i -g alias@npm:quasar…etc but I think because quasar uses the bin/quasar system both try to write to that binary and alias doesn’t support that

      Thanks all 🙂

      1 Reply Last reply Reply Quote 0
      • L
        lopu last edited by

        Waaaaaaait, quasar looks at the local quasar version for that package to get the version? omg that’s awesome

        dobbel 1 Reply Last reply Reply Quote 0
        • dobbel
          dobbel @lopu last edited by dobbel

          @lopu

          Yes that’s how nodejs app’s work with packages. Actually when using npm( yarn has a different lock file) will look at the package-lock.json for the exact version it will use:

          https://stackoverflow.com/questions/44297803/what-is-the-role-of-the-package-lock-json

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