.net - 不清楚为“@import”导入哪个文件

标签 .net

刚刚尝试运行此项目时遇到此错误。

https://github.com/dotnet-architecture/eShopOnWeb

Severity Code Description Project File Line Suppression State Error 0 It's not clear which file to import for '@import "../../variables"'. Candidates: ../../_variables.scss
../../_variables.css Please delete or rename all but one of these files. Web C:\temp\eShopOnWeb-master\eShopOnWeb-master\src\Web\wwwroot\css\basket\basket-status\basket-status.component.scss 1

@import '../../variables'; --> error?

.esh-basketstatus {
    cursor: pointer;
    display: inline-block;
    float: right;
    position: relative;
    transition: all $animation-speed-default;

最佳答案

这非常简单。 错误消息只是表明找不到 scss 文件路径。

 @import '../../variables.scss';

关于.net - 不清楚为“@import”导入哪个文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54830487/

相关文章:

c# - 我的 wcf 应用程序中是否存在安全错误?

c# - 首先在 Entity Framework 代码中与中间对象进行多对多映射

c# - mvc3 Controller 方法中的ajax发布数据为空

c# - 没有监听器的事件会对性能产生相当大的影响吗?

.net - F# printf 编译器魔法

C#::何时使用事件或从事件处理接口(interface)派生的对象集合?

.net - 使用 GML 命名空间创建 XElement 对象时出现问题

c# - 如何在 .NET 代码分析器中获取解决方案路径

.net - 为什么我无法附加到我的流程?

.net - 使用NUnit与ASP.NET WebApi Controller 执行集成测试