Topic: how can I specifiy a css namespace for the mdb.css file?
steveBenjamin premium asked 4 years ago
how can I specifiy a css namespace for the mdb.css file?
Magdalena Dembna staff answered 4 years ago
If you want to include our css in only one component you can remove an import from main.js
and add to your component the following line instead:
<style scoped src="mdbvue/lib/css/mdb.min.css"></style>
Or you can try creating your custom styling file in which you would specify the namespace and import our css - although I think that using scoped
attribute is more suitable for a Vue app.
Best regards, Magdalena
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Opened
- ForumUser: Premium
- Premium support: Yes
- Technology: MDB Vue
- MDB Version: 6.7.1
- Device: website
- Browser: chrome
- OS: mac
- Provided sample code: No
- Provided link: No