【发布时间】:2013-10-07 20:34:03
【问题描述】:
我正在使用指南针,尝试在 application.scss 中导入我的自定义 scss 文件并出现此错误:
这里是我的 application.scss 代码:
/*
* This is a manifest file that'll be compiled into application.css, which will include all the files
* listed below.
*
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
*
* You're free to add application-wide styles to this file and they'll appear at the top of the
* compiled file, but it's generally better to create a new file per style scope.
*
*= require_self
*= require_tree
*/
@import "foundation_and_overrides";
@import "pnp";
如果我删除 require_tree 错误消息将消失,但我的 scss 文件 (pnp.scss) 不会加载到页面
【问题讨论】:
-
buttonmixin 在哪里?您的pnp文件似乎正在尝试使用它,但找不到它。
标签: css ruby-on-rails sass compass-sass