当我尝试在手写笔文件中使用 style: 标记时,我无法编译它……这是我遇到的错误。
Temple::FilterError: Tilt engine styl is not available.
Use --trace for backtrace.
最佳答案
将补丁添加到倾斜注册。
require 'stylus/tilt/stylus'
register StylusTemplate, 'stylus'
关于slim-lang - 无法在超薄模板中加载触控笔,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23875006/