UIBuilder different Version of npm packes

In uibuilders node on library page i can install node modules with specified version.
Can i also install differnt versions of a module in that way as it is possible with npm direct ?

npm install jquery2@npm:jquery@2
npm install jquery3@npm:jquery@3

Reason: i'm using vue2 with bootstrap-vue, but want to use vue3 with other framwork.
And there for want to test vue3 while break the pages already using vue2 with bootstrap vue.

kind regards

I was not aware that you could do that with npm! :slight_smile:

That should work with the library manager since it is simply a front-end for npm and ensures that libraries are installed in the correct location.

Ha! Well what do you know - it DOES work :grin:

And it even sorts out the URL for you.

All you need to do is to enter jquery2@npm:jquery@2 into the input. You can, in fact, use any valid npm install string in that field (the 2nd field is actually redundant and I really should remove it).

I learned something new. Thanks for raising.

Thank you,
i did not expect that the solution was that simple, so we both learned.

1 Like

This is the advantage of doing my best to make UIBUILDER a progressive enhancement of native capabilities rather than using additional libraries and frameworks. :sunglasses: