How to install and use Slim template engine with Middleman

后端 未结 3 923
傲寒
傲寒 2021-02-10 02:27

I\'m new to Middleman and ruby in general.

I\'ve installed Ruby I\'ve installed Middleman and the gems to get it running.

I need to use slim instead of the defau

3条回答
  •  醉酒成梦
    2021-02-10 02:46

    The middleman-slim project by yterajima is helpful in this regard.

    Install is very easy.

    $ gem install middleman
    $ gem install middleman-slim
    $ middleman init PROJECT_NAME --template slim
    

提交回复
热议问题