Closed tikhonbelousko closed 10 years ago
This should be pretty simple to do. First, you need to install emblem with
bower install emblem.js --save
Then you need to add emblem-brunch to the project with
npm install emblem-brunch --save
I then replace that version with the git version, so that the line looks like this:
"emblem-brunch": "git+https://github.com/machty/emblem-brunch.git#master",
The final step necessary is to add the following block to the templates
section of config.coffee:
paths:
jquery: 'bower_components/jquery/dist/jquery.min.js'
ember: 'vendor/ember/production/ember.js'
handlebars: 'bower_components/handlebars/handlebars.min.js'
emblem: 'bower_components/emblem.js/emblem.min.js'
Hope that helps :)
Woah @clekstro comes out of nowhere and kills it. This sounds like a great solution. Let us know if it works @DaZzz.
Thanks for the kind words @mutewinter! @DaZzz, I've added a new commit to my fork which shows the result of the steps described above: https://github.com/fauxton/tapas-with-ember/commit/e33b63a1a83b74eb2eff54abc94e4d59265dc96a
Assuming this worked. Closing.
Hi!
I really like your skeleton, great job, but I want to be able to use emblem instead of handlebars. How to setup it? What do I have to change to setup generated templates and make everything work just like handlebars.