GithubHelp home page GithubHelp logo

mreq / ember-cli-emblem Goto Github PK

View Code? Open in Web Editor NEW

This project forked from code0100fun/ember-cli-emblem-hbs-printer

0.0 2.0 0.0 39 KB

Ember-CLI addon that adds Emblem.js 0.6.0+ template support

License: MIT License

JavaScript 80.46% HTML 16.12% CoffeeScript 3.17% EmberScript 0.25%

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.

If you do not wish to use blueprints, an emblemOptions setting is available in your config/environment.js:

ENV.emblemOptions {
	blueprints: false
}

Ember-CLI support

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

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.