Skip to content

Commit

Permalink
Blueprint works now! - Fixes #8
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-north committed Jul 26, 2015
1 parent c401cd8 commit e9bebdc
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
13 changes: 13 additions & 0 deletions blueprints/ember-material-lite/files/app/templates/application.hbs
@@ -0,0 +1,13 @@
<div class="mdl-grid">
{{#mdl-card title='Welcome to Ember.js'}}
<div class="mdl-card__supporting-text">
You have successfully installed <a href='https://github.com/truenorth/ember-material-lite' target='_blank'>ember-material-lite</a>. It's based on an awesome google project called <a href='https://github.com/google/material-design-lite' target='_blank'>Material Design Lite</a>
</div>
{{#mdl-card-actions}}
{{mdl-button text='Test Button'}}
{{/mdl-card-actions}}
{{/mdl-card}}
</div>


{{outlet}}
4 changes: 2 additions & 2 deletions blueprints/ember-material-lite/files/config/environment.js
Expand Up @@ -2,7 +2,7 @@

module.exports = function(environment) {
var ENV = {
modulePrefix: '',
modulePrefix: '<%= dasherizedPackageName %>',
environment: environment,
baseURL: '/',
locationType: 'auto',
Expand All @@ -13,7 +13,7 @@ module.exports = function(environment) {
}
},
sassOptions: {
includePaths: ['bower_components/material-design-lite-src/src']
includePaths: ['bower_components/material-design-lite/src']
},
APP: {
// Here you can pass flags/options to your application instance
Expand Down
3 changes: 2 additions & 1 deletion blueprints/ember-material-lite/index.js
Expand Up @@ -11,7 +11,8 @@ module.exports = {

afterInstall: function () {
return RSVP.all([
this.addPackageToProject('ember-cli-sass', '^3.3.0')
this.addPackageToProject('ember-cli-sass', '^3.3.0'),
this.addPackageToProject('ember-new-computed', '~1.0.0')
]);
}
};

0 comments on commit e9bebdc

Please sign in to comment.