An open API service indexing awesome lists of open source software.

https://github.com/tubbo/ember-foundation

[WIP] make your ember.js code as beautiful as your app
https://github.com/tubbo/ember-foundation

Last synced: 16 days ago
JSON representation

[WIP] make your ember.js code as beautiful as your app

Awesome Lists containing this project

README

        

# ember-foundation

A plugin for Ember.js that provides a series of views and helpers for
working with Zurb Foundation. Although Ember and Foundation work very
well together, sometimes adding the various attributes and classes
required for Foundation's JS components library can be a little awkward,
especially in Emblem or other alternative templating languages. This
plugin helps to solve that problem by providing all of the Foundation JS
components as Ember.View objects, and all of the CSS components as
either Handlebars helpers or Ember.View mixins. In short, we want to
provide a 1:1 translation layer between Foundation's time-saving
JavaScript components and your rich Ember.js application.

**ember-foundation** is distributed as a Rails plugin, and is suited best
for Ruby on Rails developers who use EmberScript and Emblem, but it can
also be used as a standalone library in any JavaScript application.

## Installation

For **Ruby on Rails** users, just add this gem to your Gemfile:

```ruby
gem 'ember-foundation'
```

And run

```bash
$ bundle install
```

For everyone else, read on..

### Manual Installation

Clone this repo and run the following commands:

```bash
$ bundle install
$ bundle exec rake
```

A file called **ember-foundation.js** will be generated in the `pkg/`
directory. Copy this file to your project and load it after you load
Ember.js but before you load your application:

```html