Skip to content

Support CSS templates #9

@coderarity

Description

@coderarity

We could add support for compiling Sass/LESS/Stylus templates to CSS. I think that they share a lot of similarities with HTML templates, with the important exception that they don't really have data binding. I guess that means you wouldn't pass anything into the render function.

So it'd look something like this:

var viewful = require('viewful');

var view = new viewful.View({ 
  template: "color: #FFFFFF",
  input: "less"
});

view.render();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions