/****** Installation Instructions ******
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";
}
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