Topic: Laravel/Vue: Cannot find module 'mdbvue'
I'm trying to use MDBootstrap Vue in Laravel.
npm install mdbvue. After installation, I have imported the scss file into app.scss, so it now looks like
The app.js file looks like:
window.Vue = require('vue');
When I try to use a simple table, it yields the error in the title (not found module). An example-component with the table would be with this: https://mdbootstrap.com/content-2/tables/ or this https://mdbootstrap.com/docs/vue/tables/basic/.
I cannot figure out how to use the table from the first link, and when I try with the table from the second link (with template-tags and script-tag), it yields the module mdbvue could not be found. Where do I go from here?
EDIT: Now I tried this guide https://stackoverflow.com/questions/51823924/how-to-load-mdbootstrap-vue-into-laravel-5-with-laravel-mix.
Now it yields the error
Uncaught ReferenceError: TblBody is not defined
Services & Consulting
Hire our experts to help you design or build a dedicated project.
- User: Pro
- Premium support: No
- Technology: MDB Vue
- MDB Version: 5.1.1
- Device: Computer
- Browser: Google Chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: Yes