我正在使用波旁威士忌和整洁的宝石来创建 Rails 应用程序的设计。我的 application.css.scss 包含以下内容:
@import "bourbon";
@import "neat";
@import "main";
但是,如果我运行“rake assets:precompile”,则会发生此错误:
rake aborted!
Undefined mixin 'outer-container'.
(in /Users/anonymous/example/app/assets/stylesheets/admin/main.css.scss)
/Users/anonymous/example/app/assets/stylesheets/admin/main.css.scss:5:in `outer-container'
/Users/anonymous/example/app/assets/stylesheets/admin/main.css.scss:5
文件 main.css.scss 包含以下内容:
footer#page_footer {
@include outer-container;
nav{
@include span-columns(6);
@include shift(3);
section#about_me_footer, section#contact_footer, section#miscellaneous_footer {
@include span-columns(2 of 6);
}
}
p {
@include span-columns(6);
@include shift(3);
}
}
有人可以给我一些建议吗?