This addon adds support for importing YAML files into your Ember CLI app, using broccoli-json-module and broccoli-yaml.
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';
This heavily borrows from (is a ripoff of) Dray Lacy's ember-cli-json-module