我刚接触Neat/Bourbon,正在尝试使用Codekit进行设置,这样我就可以开始构建一些很棒的网格了!
通过将@import "neat";插入到我的主SCSS文件中,我已经使用内置的Codekit版本安装了Neat。当我看到一小段代码插入到我的CSS文件中时,这似乎是有效的,据我所知,这是默认情况下唯一整齐的CSS插入。此代码为:
html {
box-sizing: border-box; }
*, *::after, *::before {
box-sizing: inherit; }因此,似乎所有的导入都是正确的,但是当尝试使用任何混合形式的整洁文档时,我从Codekit得到了以下错误,从而阻止了编译器的完成:
Libsass:错误:没有名为grid-column的混入
回溯: Users/petedungey/Desktop/Dropbox/Oak/Internal/Flywheel本地Sites/woocommerce-blueprint-site/app/public/wp-content/themes/oak_starter_theme/sass/layout/_grid.scss:14在Users/petedungey/Desktop/Dropbox/Oak/Internal/Flywheel本地Sites/woocommerce-blueprint-site/app/public/wp-content/themes/oak_starter_theme/sass/layout/_grid.scss的第14行
@include grid-column(3);-^
有人能帮上忙吗?
发布于 2017-03-08 23:31:48
纵观CodeKit’s Updates page,似乎它的包装仍然是整洁的1.7.2。然而,grid-column mixin来自于Neat 2.0。
您可以在此处查看1.7.2的文档:http://neat.bourbon.io/docs/1.7.2/
https://stackoverflow.com/questions/42673400
复制相似问题