Use eyeglass and node-sass to compile Sass files in your ember project.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
config
lib
node-tests
tests
.editorconfig
.ember-cli
.eslintignore
.eslintrc.js
.gitignore
.npmignore
.travis.yml
.watchmanconfig
CHANGELOG.md
LICENSE
NOTICE
README.md
ember-cli-build.js
index.js
package.json
testem.js
yarn.lock

README.md

ember-cli-eyeglass Build Status

This Ember CLI Addon makes it trivial to compile your sass files with eyeglass support via node-sass.

Installation

npm install --save-dev ember-cli-eyeglass

Then rename all your .css files so they have the .scss extension.

Configuration

In your application's ember-cli-build.js the key "eyeglass" can be set to an options object that will be passed to broccoli-eyeglass. For details on the options available, please read the broccoli-eyeglass options documentation.

Apps

// path/to/app/ember-cli-build.js
const app = new EmberApp(defaults, {
  options: {
    eyeglass: { /* configuration */ }
  }
});

Engines

// path/to/engine/index.js
const app = new EmberEngine(defaults, {
  options: {
    eyeglass: { /* configuration */ }
  }
});

Building

  • ember build

For more information on using ember-cli, visit http://www.ember-cli.com/.