Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: I require vue-router <= 3.0.7

frederickvalone free asked 5 years ago


** I require vue-router <= 3.0.7 for nuxtjs version 2.9.1 but mdbvue pro installs vue-router 3.1.2 I am able to clone the repository and modify the package.json file to install version 3.0.7 but I cannot do this within the nuxt project so it is still using 3.1.2 and causing the application to output warnings. I do have access to a private internal bitbucket repository so I was wondering is I could just house my modified mdbvue pro project there and load it into the nuxt app from there. If anyone has a better method of resolving the issue because I am not too fond of this method and am not even sure it will work. **

Actual behavior

Resources (screenshots, code snippets etc.)


frederickvalone free answered 5 years ago


That is completely acceptable. Thanks


Mikołaj Smoleński staff answered 5 years ago


All I can suggest in this situation is to load MDB from private repo as You did or install an exact version of vue-router after mdb installation.

Best regards


frederickvalone free answered 5 years ago


Actually I verified that it is mdbvue (pro) that is resolving the vue-router to 3.1.2. Although the version is set to @^3.0.6 it is resolving in yarn.lock as shown below vue-router@^3.0.6: version "3.1.2" resolved "https://registry.yarnpkg.com/vue-router/-/vue-router-3.1.2.tgz#2e0904703545dabdd42b2b7a2e617f02f99a1969"

If I load the same mdbvue package from my private bitbucket repository with a slightly modified package.json set to lock the version at 3.0.7 ("vue-router": "3.0.7",) then the version resolves correctly to 3.0.7

All other packages remain the same the only dependency changed is in the mdbvue package.json


Mikołaj Smoleński staff answered 5 years ago


As you can check here: https://github.com/mdbootstrap/Vue-Bootstrap-with-Material-Design/blob/master/package.json MDB Vue uses vue-router version 3.0.6. I guess some other dependecy in your projects uses higher version of router.

Best regards



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Vue
  • MDB Version: 5.8.0
  • Device: all
  • Browser: any
  • OS: linux windows 10
  • Provided sample code: No
  • Provided link: No