Home  >  Q&A  >  body text

Is it possible to use two different versions of a library at the same time in NPM?

I have a large Vue.js application using Vuetify v1.5 and I want to convert the application to version 2.0. However, this would introduce a lot of breaking changes, and we didn't have time to rewrite all components to support Vuetify 2.0. But by using Vuetify 2.0 to build features from now on, we'll have less work to do when we go back and upgrade things to version 1.5.

Is this possible? Can anyone give me some pointers?

P粉832490510P粉832490510277 days ago367

reply all(1)I'll reply

  • P粉022501495

    P粉0225014952024-01-17 11:16:29

    Maybe you can use Module Alias and use an alias for the second package.

    reply
    0
  • Cancelreply