Cannot load stylus into thin template

when I try to use styl: tag in the stylus file, I cannot compile it ... here is the error I get.

Temple::FilterError: Tilt engine styl is not available.
  Use --trace for backtrace.
+4
source share
1 answer

Add a patch to register tilt.

  require 'stylus/tilt/stylus'
  register StylusTemplate, 'stylus'
0
source

Source: https://habr.com/ru/post/1542070/


All Articles