Giter Club home page Giter Club logo

ember-cli-emblem's Introduction

Circle CI Dependency Status devDependency Status

Ember-cli-emblem

This is an ember-cli addon that brings support for Emblem.js templates.

This printer is based on version 0.5.0+ of Emblem. It compiles .embl, .emblem and .em templates into Handlebars-syntax templates which will then be compiled as standard .hbs templates by ember-cli.

Consequently, this addon should be compatible with old versions of Ember regardless of its template dependency, and support newer (HTMLBars) template compilation in ember-cli.

Supporting Ember 1.9.x projects / Handlebars 2.0

The emblem dependency jump from 0.5.x to 0.6.x is breaking change for projects that use Ember 1.9.x, and through ember-cli: ember-cli-htmlbars 0.6.x Use ember-cli-emblem v0.2.x for Handlebars 2.0 support.

Installation

If you are using the broccoli-emblem-compiler it should be removed before using this addon: npm uninstall --save-dev broccoli-emblem-compiler.

  • ember install ember-cli-emblem

Blueprints

ember-cli-emblem supports blueprint generation for routes, components, and templates. Use the ember generate command to add new Emblem templates.

Options

ember-cli-emblem exposes a few instrumentation options for Emblem:

  • blueprints: false if true, will disable blueprint generation. (default: false);
  • quiet: false if true, will quiet Emblem's deprecation notices. (default: false)
  • debugging: false if true, will output the handlebars output of Emblem to STDOUT. (default: false)

Simply add these to your config/environment.js:

ENV.emblemOptions {
  blueprints: false
}

Ember-CLI support

  • Versions 0.1.x: supported
  • Versions 0.2.x: supported

ember-cli-emblem's People

Contributors

adjohnson916 avatar bantic avatar buschtoens avatar ember-tomster avatar gaurav0 avatar hhff avatar jakesjews avatar joebartels avatar jondayton avatar josemarluedke avatar mixonic avatar okolehao avatar patricklx avatar sconstantinides avatar shilov avatar

Watchers

 avatar  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.