1.0.1 • Published 5 years ago

ember-cli-yaml-module v1.0.1

Weekly downloads
758
License
MIT
Repository
github
Last release
5 years ago

ember-cli-yaml-module

This addon adds support for importing YAML files into your Ember CLI app, using broccoli-json-module and broccoli-yaml.

Installation / Usage

From within your Ember CLI application, run the following:

ember install:addon ember-cli-yaml-module

Then, any YAML files in either app or tests will be converted to ES6 modules that you can import like so:

import myFixture from 'my-app/tests/fixtures/my-fixture';

Credit

This heavily borrows from (is a ripoff of) Dray Lacy's ember-cli-json-module