خرید بک لینک

Vote count: 0

I purchased the BeyondAdmin template to spice up to my existing VS2015 MVC Bootstrap project. First of all, it came with many directories of files, for example in the mvc folder, there is a BeyondThemes.BeyondAdmin and BeyondThemes.Bootstrap directory, and within there are many css files. I don't know what to copy where.

So I tried copying in the BeyondThemes.BeyondAdminassets directory into my project and changing by Bundle config (see bottom of code):

bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                    "~/Scripts/jquery-{version}.js",
                    "~/Scripts/jquery-ui-{version}.js"));

        bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
                    "~/Scripts/jquery.validate*"));

        // Use the development version of Modeizr to develop with and lea from. Then, when you're
        // ready for production, use the build tool at http://modeizr.com to pick only the tests you need.
        bundles.Add(new ScriptBundle("~/bundles/modeizr").Include(
                    "~/Scripts/modeizr-*"));

        bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(
                  "~/Scripts/bootstrap.js",
                  "~/Scripts/respond.js"));

//Added This
        bundles.Add(new StyleBundle("~/Content/css").Include(
                  "~/assets/css/bootstrap.css",
                  "~/Content/site.css"));

//Removed This
        //bundles.Add(new StyleBundle("~/Content/css").Include(
        //          "~/Content/bootstrap.css",
        //          "~/Content/site.css"));

The result was losing all my bootstrap formatting.

Three questions:

  1. Which directory(s) should I copy where?
  2. Do I need the seperate jquery and/or modeizr references below, or does BeyondAdmin have all of these.
  3. What other references do I need? I can't imagine the whole template just relies on one css file.
asked 21 secs ago

برچسب: نویسنده: استخدام کار تاريخ: چهارشنبه 25 فروردين 1395 ساعت: 23:43

صفحه بندی