Topic: migration to vue 3

ozgehan premium asked 2 years ago


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


Mikołaj Smoleński staff commented 2 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.


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



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