Topic: [Vue warn]: Property or method "showModal5" is not defined
Hello,
i copied the basic modal into my component and i get this message: vue.esm.js?a026:628 [Vue warn]: Property or method "showModal5" is not defined
Code 1:1 from your site.
Rgds
Mikołaj Smoleński staff answered 6 years ago
Hello,
You just need to add the data object in Your .vue file:
data() {
return {
showModal5: false
}
}
Best regards
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: No
- Technology: MDB Vue
- MDB Version: 4.8.2
- Device: MAC
- Browser: CHROME
- OS: Moave
- Provided sample code: No
- Provided link: No