You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 31, 2021. It is now read-only.
As a developer I would like to create templates that contains certain logic, for example you could add erb templates similar to yeoman and then the pubspec.yaml template could look like this:
name: <%= projectName %>
author: <%= author %>
dependencies:
<% if cssPreprocessor == 'sass' %> <%= sass: any %><% end %><% if cssPreprocessor == 'less' %> <%= less: any %><% end %><% if cssPreprocessor == 'stylus' %> <%= stylus: any %><% end %>
The text was updated successfully, but these errors were encountered:
One reason we wanted something super simple: it allows us to create templates that are valid source files. This is why we use the underscore model, etc.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
As a developer I would like to create templates that contains certain logic, for example you could add
erb
templates similar to yeoman and then thepubspec.yaml
template could look like this:The text was updated successfully, but these errors were encountered: