Base solution for your next web application
Open Closed

Remove bottstrap from style.bundle.css #4470


User avatar
0
rattlehub created

In the current solutions bootstraps css is loaded from /metronic/dist/html/default/assets/demo/default/base/style.bundle.css

We would like to remove the bootstrap from here as this makes it very hard to manage and we want to load bootstrap from a cdn as most users would then have it cached. Is there a safe way to remove the bootstrap out of this file. I can understand why they would merge that in to be honest.

Nothing in Gulp seems to create the still.bundle from what i can see


4 Answer(s)
  • User Avatar
    0
    alper created
    Support Team

    try to strip the bootstrap css as I marked.

    <a class="postlink" href="https://github.com/twbs/bootstrap/tree/v4.0.0-beta">https://github.com/twbs/bootstrap/tree/v4.0.0-beta</a> <a class="postlink" href="https://getbootstrap.com/docs/4.0/getting-started/download/">https://getbootstrap.com/docs/4.0/getti ... /download/</a>

  • User Avatar
    0
    rattlehub created

    Thank you. Was hard to see where the Boostrap ended.

  • User Avatar
    0
    rattlehub created

    outputFileName: 'wwwroot/view-resources/Areas/AppAreaName/Views/_Bundles/app-layout-libs.js', inputFiles: [ //"wwwroot/lib/jquery-ui/jquery-ui.js",

    Out of interest sake, i see you merge jquery.ui but i dont see any other files added or merged to the product. It looks like it isnt needed. Is my assumption correct.

  • User Avatar
    0
    ismcagdas created
    Support Team

    @RattleHub, yes jquery-ui might be unnecessary. Can you create an issue on <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/issues">https://github.com/aspnetzero/aspnet-zero-core/issues</a> and let us check this ?