Topic: How can I solve MDB Pro Nuxt JS Problem?
talentswide asked 4 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'"
nuxt.config.js
My project is currently not progressing and I urgently need to resolve this.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Open
- User: 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
Mikołaj Smoleński staff commented 4 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 commented 4 years ago
So do I need to use Bootstrap 4 for it to work here?
Mikołaj Smoleński staff commented 4 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