How to use different versions in development environment
-
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
-
Waaaaaaait, quasar looks at the local quasar version for that package to get the version? omg that’s awesome
-
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