Topic: Nuxtjs + MDB Not Working

renlikin free asked 1 year ago


Expected behavior

Being able to use MDB components properly.

Actual behavior

Nuxt does not load the MDB components properly.

Resources (screenshots, code snippets etc.)

https://stackblitz.com/edit/nuxt-starter-p53sg8?file=pages/index.vue

This sandbox examples the error "Cannot read properties of undefined (reading 'defineComponent')" when trying to use the MDBInput component.

Please let me know what I'm doing wrong. Thanks!


Mikołaj Smoleński staff commented 1 year ago

Hi there,

We're going to prepare a dedicated integration instruction soon.

Regards


Bartosz Cylwik staff answered 1 year ago


Hi! You can find our integration tutorial with nuxt3 here

https://mdbootstrap.com/docs/vue/getting-started/nuxt/

Sorry for the late response.


digityser priority answered 1 year ago


Same here, do you have any update on this ?


Michael Finger premium answered 1 year ago


+1 one on getting the Nuxt3 guide up..


Creationist free answered 1 year ago


Has there been an integration instruction completed yet? I am having this exact issue. Would like to use MDB with Nuxt (v3) but having errors on components is going to slow development.



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Vue
  • MDB Version: MDB5 3.0.0
  • Device: Mac Air M1
  • Browser: Chrome
  • OS: MacOS
  • Provided sample code: No
  • Provided link: Yes
Tags