Skip to content

Not as easy as HAML? #1

Open
Open
@jchatel

Description

I prefer typing PUG over HAML, mostly because I don't need to type % constantly and it feels nicer, but installing it on a simple Rails app is not as straightforward as with HAML.

With HAML, all I do is

gem 'haml', '~> 5.1.2'

And now, I can rename my views/layouts/file.html to views/layouts/file.html.haml job done

It's not working with PUG and it seems like we need to create extra files as templates with .jst. ??, am I missing something or is it really more complicated than it should be?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions