Socket
Book a DemoInstallSign in
Socket

Foundation4.MVC4

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Foundation4.MVC4

Foundation is the most advanced responsive front-end framework in the world. With Foundation you can quickly prototype and build sites or apps that work on any kind of device, with tons of included layout constructs (like a full responsive grid), elements and best practices. Homepage: http://foundation.zurb.com Documentation: http://foundation.zurb.com/docs Download: http://foundation.zurb.com/download.php Foundation is MIT-licensed and absolutely free to use. Foundation wouldn't be possible without the support of the entire ZURB team, our friends and colleagues who gave feedback, and some luminaries who did some heavy lifting that we took advantage of (thanks guys).

nugetNuGet
Version
1.0.431
Version published
Maintainers
1
Created
Source

/****** Installation Instructions ******

  • Update the Layout

Open the /Views/_ViewStart.cshtml Change the Layout to _Foundation.cshtml like the example below:

@{ //This is the default MVC template //Layout = "~/Views/Shared/_Layout.cshtml";

//This is the Foundation MVC template
Layout = "~/Views/Shared/_Foundation.cshtml";

}

  • Remove the default theme

Once the ViewStart has been updated. Replace the default Index.cshtml:

Rename ~/Views/Home/Index.cshtml to Index.cshtml.exclude (or delete the file) Rename ~/Views/Home/Foundation_Index.cshtml to Index.cshtml

Replace the default style:

Rename ~/Content/Site.css to Site.css.exclude (or delete the file)

  • Automatic Bundling and Minification

Open the /App_Start/BundleConfig.cs Add the following bundles:

        #region Foundation Bundles
        //If your project requires jQuery, you may remove the zepto bundle
        bundles.Add(new ScriptBundle("~/bundles/zepto").Include(
                "~/Scripts/zepto.js"));

        bundles.Add(new StyleBundle("~/Content/foundation/css").Include(
                   "~/Content/foundation/foundation.css",
                   "~/Content/foundation/foundation.mvc.css",
                   "~/Content/foundation/app.css"));

        bundles.Add(new ScriptBundle("~/bundles/foundation").Include(
                  "~/Scripts/foundation/foundation.js",
                  "~/Scripts/foundation/foundation.*",
                  "~/Scripts/foundation/app.js"));
        #endregion

4. You are now ready to begin building your MVC project using Foundation.

/****** Related Nuget packages ****** Want to rapid prototype and wire frame directly from code using Html Helpers? Try the prototyping package on nuget. It works great with Foundation. http://www.nuget.org/packages/Prototyping_MVC

Having trouble with media queries? Debug them with this simple CSS file. http://nuget.org/packages/CSS_Media_Query_Debugger

/****** Documentation ****** Docs http://foundation.zurb.com/docs/ Demo http://edcharbeneau.github.com/FoundationSinglePageRWD/

Resources: http://www.responsiveMVC.net/

Follow us: Ed Charbeneau http://twitter.com/#!/edcharbeneau Foundation Zurb http://twitter.com/#!/foundationzurb

Change Log: Version 1.0.431 - Updated core to 4.3.1 Version 1.0.423 - Updated core to 4.2.3 Version 1.0.421 - Updated core to 4.2.1 - Now with interchange http://foundation.zurb.com/docs/components/interchange.html Version 1.0.416 - Updated core to 4.1.6 Version 1.0.403 - Initial NuGet Release

Note: version scheme .. foundation version represents the foundation version less the "." for example 4.1.4 would be #.#.414

Foundation Framework Support: http://foundation.zurb.com/docs/support.php

Keywords

HTML

FAQs

Package last updated on 06 Aug 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts