【问题标题】:How to output css to kestrel in OS X using Visual Studio Code如何使用 Visual Studio Code 在 OS X 中将 css 输出到 kestrel
【发布时间】:2015-06-12 19:25:05
【问题描述】:

我正在尝试使用 Visual Studio Code 在 OS X 上使用红隼创建一个网站,并且能够让 MVC 6 位与 Entity Framework 7 (InMemory) 一起使用,但我无法理解配置和构建过程使用grunt、bower、gulp等。网页源码显示href符合预期,但是在chrome开发者工具中检查文件时没有内容。

是否有示例 wwwroot/css/site.css 中的 css 包含在输出网站中?

【问题讨论】:

    标签: asp.net-core asp.net-core-mvc


    【解决方案1】:

    查看这些示例:https://github.com/aspnet/Mvc/tree/dev/samples。 “MvcSample.Web”在 wwwroot 中包含 *.css 文件。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2017-06-17
      • 2017-01-18
      • 2017-11-05
      • 1970-01-01
      • 2015-07-09
      • 1970-01-01
      • 2015-07-09
      相关资源
      最近更新 更多