Topic: migration to vue 3

ozgehan premium asked 3 years ago


Hi,

We are migrating our application from vue 2 to vue 3. for the vue part application works just fine. Composition API does converting vue 2 components to vue 3 but in some pages we get errors such as "Uncaught (in promise) TypeError: Cannot read properties of null (reading '$el')" what we are trying to achieve is make our application work on vue 3 with composition api then step by step change mdbvue to mdb5. Is it possible? or do you have any suggestions on that matter

Thanks,


Mikołaj Smoleński staff commented 3 years ago

This type of error mainly occurs when any component used in project is not compatible with Vue 3, e.g. mdbvue or other "old" dependencies could generate such error in Vue 3 project. I recommend to migrate all of them and then run the app.

Keep coding,  Mikołaj from MDB



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Opened

Specification of the issue

  • ForumUser: Premium
  • Premium support: Yes
  • Technology: MDB Vue
  • MDB Version: MDB5 1.0.0
  • Device: computer
  • Browser: chrome
  • OS: windows
  • Provided sample code: No
  • Provided link: No