MVC 4 Google Fonts - Intranet

前端 未结 3 1613
陌清茗
陌清茗 2021-01-06 16:43

I have a MVC4 4 Bootstrap project which renders perfectly well locally via Visual Studio 2010 but when I publish to the internal IIS used for our Intranet I cannot access th

3条回答
  •  孤城傲影
    2021-01-06 17:40

    I have a similar issue with font awesome below listed is my current bundle value and this solved the issue with additional references from Font-Awesome.css file

    bundles.Add(new StyleBundle("~/Framework/libs/vendor/font-awesome/4.4.0/css/font-awesome").Include(
                "~/Framework/libs/vendor/font-awesome/4.4.0/css/font-awesome.css"));
    

    when the path is relative the to the actual font-awesome css file the relative path to the eot,tff and woff files will also become correct.

提交回复
热议问题