Topic: Getting Started Issues

brian03 priority asked 5 months ago

I am new to MDB and have via the CLI run the "mdb init" to load it on my laptop. Now I am trying to create a index.html file to start developing. But in the examples I have seen so far they do not include the necessary element information. Here is the head element I am attempting to use.

<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<title>Material Design for Bootstrap Example</title>
<!-- MDB -->
<link rel="stylesheet" href="C://Program Files/MDBootstrap5/mdb5-free-standard/css/mdb.min.css" />

It seems I am missing something because I copied some html code from one of the examples on the MDB website but it is not working. I am thinking that I must be missing something from the head element?

Grzegorz Bujański staff answered 5 months ago

It looks like you entered the path to the css file incorrectly. I assume that you got an error related to this file in your browser's dev tools. The project that was created should include an example index.html file. Here you can see what MDB file imports look like. Try this:

<link rel="stylesheet" href="css/mdb.min.css" />

brian03 priority commented 5 months ago

Thanks for your assistance! I can't believe I did not see that. Have a great day.

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 7.1.0
  • Device: Laptop
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: No