Adding Zurb Foundation to a new asp.net webforms app

Can someone please tell me the proper way to add Zurb Foundation 5 CSS Framework to a new ASP.NET Application that is using the Webforms template and No Authentication.

I would like to follow all of the conventions that microsoft put in place in this template such as bundles.

I have attempted to do this and I keep getting errors in the js console.

Here are the steps I took:

  • Add new Webforms application, No authentication.
  • Remove bootstrap completely from site.
  • Download Zurb Foundation 5 (default) from their website.
  • Add css and img folders over to the Content folder.
  • Add js/foundation and js/vendors folders to the Scripts folder.
  • Add a new StyleBundle to the Bundle.config that includes Content/css/foundation.min.css and Content/css/normalize.css
  • In the master page add the line `Styles.Render("~/bundles/foundationCss")` within the placeholder tags to register the style bundle

  • This is what i do. My demo is very simple, i'm not using masterpage 我只是添加文件夹和两个文件

    链接地址: http://www.djcxy.com/p/67984.html

    上一篇: Visual Studio 2013 MVC

    下一篇: 将Zurb Foundation添加到新的asp.net webforms应用程序中