Giter VIP home page Giter VIP logo

ember-cli-foundation-sass's Introduction

Ember CLI Foundation SASS Addon

This addon extremely simplifies and automates the steps to include Foundation 5.4.2 SASS into your ember-cli project and to customize it completely to your needs.

This addon works with ember-cli v0.0.44 and later.

Usage

  • npm install ember-cli-foundation-sass --save-dev
  • ember g foundation-sass

This installs Foundation 5.4.2 via Bower, copies over _settings.scss as well as the foundation.scss files into your app/styles folder so you can customize Foundation and just include the modules you need. Furthermore it symlinks the foundation sass folder (from bower_components) to your styles folder, so you don't have to change any of the import statements.

It also provides a default app.scss that includes the _settings.scss as well as the _foundation.scss for you.

It will try to overwrite the default ember-cli .gitignore to add the symlinked foundation folder. If you don't want that file to be overrided, do at that folder manually.

Lastly it installs broccoli-sass and broccoli-csso purely for convenience.

Options

Run ember g foundation-link when you clone an existing project with this addon and just need to set up the right symbolic link.

This addon also simplifies adding the Foundation JavaScript (and dependencies) in the Brocfile.js:

//Brocfile.js
var app = new EmberApp({
  'foundation-sass': {
    'modernizr': true, //includes modernizer
    'fastclick': true, //includes fastclick
    'foundationJs': 'all' //Includes the full foundation.js with all modules
  }
});


var app = new EmberApp({
  'foundation-sass': {
    'foundationJs': true //Includes just the core foundation.js without any modules
  }
});

var app = new EmberApp({
  'foundation-sass': {
    'foundationJs': ['tab', 'topbar', 'orbit', 'drodpdown']
    //Includes just the core foundation.js with the tab, topbar, orbut and dropdown module
  }
});

ember-cli-foundation-sass's People

Contributors

brancusi avatar ember-tomster avatar globegitter avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.