Topic: Using MDBootstrap alongside regular Bootstrap

ljacobsen free asked 7 years ago


I'm using MDBootstrap in a Visual Studio ASP.NET MVC project. Visual Studio automatically includes the regular (Twitter) Bootstrap library in web projects.Should I delete Twitter Bootstrap and use only MDBootstrap? Or, is it advised to use both libraries?

Bartłomiej Malanowski staff commented 7 years ago

Currently, MDB doesn't support ASP.NET

ljacobsen free commented 7 years ago

Did you read my question? I wasn't asking for ASP.NET support. I was asking if it is a good practice to use MDBootstrap alongside vanilla bootstrap.

Bartłomiej Malanowski staff commented 7 years ago

Sorry for the misunderstanding


You shouldn't delete regular Bootstrap. Bootstrap is required by MDB so it won't work without Bootstrap

ljacobsen free commented 7 years ago

Just what I needed to know. Thanks!

Alberto pro answered 7 years ago


Hi I have no issues with running them concurrently. I have attached my code in the _layout.cshtml

<environmentnames="Development">

<linkrel="stylesheet"href="~/lib/animate/animate.min.css">
<linkrel="stylesheet"href="~/lib/font-awesome/css/font-awesome.min.css">
<linkrel="stylesheet"href="~/lib/bootstrap/dist/css/bootstrap.min.css" />
<linkrel="stylesheet"href="~/lib/mdb/css/mdb.min.css" />
<linkrel="stylesheet"href="~/css/site.css" />
</environment>

<environmentnames="Development">
<scriptsrc="~/lib/jquery/dist/jquery.min.js"></script>
<scriptsrc="~/lib/popper.js/dist/umd/popper.js"></script>
<scriptsrc="~/lib/bootstrap/dist/js/bootstrap.min.js"></script>
<scriptsrc="~/lib/mdb/js/mdb.min.js"></script>
<scriptsrc="~/js/site.js"asp-append-version="true"></script>
</environment>


ljacobsen free commented 7 years ago

Thanks Alberto for understanding and replying to my question. I am experiencing an issue with select elements when using MDBootstrap and Bootstrap concurrently. That's why I asked if it is a recommended practice.


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Resolved

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags