Topic: How can I solve MDB Pro Nuxt JS Problem?

talentswide free asked 2 years ago


Hello friends. I purchased an MDB Vue Pro license the other day. I couldn't install it in my Nuxt JS Project.

I partially succeeded in calling it as a class. At least Bootstrap 5 works. I managed to get the animations working as well, apparently I added the JS files to my project as well.

But the problem occurs when I call {BButton} as Component.

For this I put a few more files in my project but I can't get past the below error

"Cannot find module 'mdbvue/nuxt'"

enter image description here

nuxt.config.js

enter image description here

My project is currently not progressing and I urgently need to resolve this.


Mikołaj Smoleński staff commented 2 years ago

Hi there, Nuxt doesn't support Vue 3.x.x yet, so our latest ui-kit won't work there. The integration is planned when nuxt releases an update.

Keep coding,  Mikołaj from MDB


talentswide free commented 2 years ago

So do I need to use Bootstrap 4 for it to work here?


Mikołaj Smoleński staff commented 2 years ago

Yes, and MDB Vue 4.x.x version instead of MDB Vue 5.x.x. Here's an installation guide: https://mdbootstrap.com/docs/vue/getting-started/installation/#nuxt

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: Free
  • Premium support: No
  • Technology: MDB Vue
  • MDB Version: MDB5 1.0.0-beta6
  • Device: Web
  • Browser: Chrome
  • OS: MAC
  • Provided sample code: No
  • Provided link: No