Topic: Custom Theme and SIdeNav Display
KaffineAddict free asked 3 years ago
Expected behavior SidNav Bar should open and display.
Actual behavior Overlay displays but nothing else currently.
Resources (screenshots, code snippets etc.) What I am doing is starting my custom skin to accomplish this I have imported the following in my own SCSS file
$image-path: '/img'; @import 'ams-theme'; @import '~mdbvue/lib/scss/mdb-pro'; @import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap');
This appears to work fine except for the sidenav does not display properly. Now if I add the import for the prebuilt MDB in my main.js like the following. It works if I toggle it on and off. This appears to be the only thing broken.
import 'bootstrap-css-only/css/bootstrap.min.css'; // import 'mdbvue/lib/css/mdb.min.css'; import './assets/styles/app.scss'; import '@fortawesome/fontawesome-pro/css/all.min.css';
Here is an example with it commented out.
And again with it uncommented.
In your main.js file there should be imported different css file. If you picked
Editable sccs option you should have the following file in your main.js:
Please add it to main.js and let me know if the issue still occurs.
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Free
- Premium support: No
- Technology: MDB Vue
- MDB Version: 6.1.1
- Device: Laptop
- Browser: Chrome
- OS: Windows
- Provided sample code: No
- Provided link: No