About two months ago, I wrote about how to use EmberJS without a back-end. Today, I'd like to share how I implemented the same principle for the Ember-CLI.
THE PRINCIPLEIn short: the principle is the same as before, but this time instead of using Grunt I'll use Broccoli. Each blog post is written as .md mixed YAML/markdown and converted to a JSONfile using Broccoli. In Ember, I use a simple jQuery getJSON() to load the data and hand it back the jQuery promise as a "model".
Your new post is loading...