Nuxtjs + MDB Not Working


Topic: Nuxtjs + MDB Not Working

renlikin asked 2 years 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 2 years ago

Hi there,

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

Regards


Creationist answered 2 years 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.


mfinger@especialty.com pro premium answered 2 years ago

+1 one on getting the Nuxt3 guide up..


digityser pro premium priority answered 2 years ago

Same here, do you have any update on this ?


Bartosz Cylwik staff answered 2 years ago

Hi! You can find our integration tutorial with nuxt3 here

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

Sorry for the late response.


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
  • User: 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
nux