Topic: Nuxtjs + MDB Not Working
renlikin free 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!
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.
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.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- 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
Mikołaj Smoleński staff commented 2 years ago
Hi there,
We're going to prepare a dedicated integration instruction soon.
Regards