Import YAML files into your ember-cli app.
npm install ember-cli-yaml-moduleThis 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:
``sh`
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:
`js``
import myFixture from 'my-app/tests/fixtures/my-fixture';
This heavily borrows from (is a ripoff of) Dray Lacy's ember-cli-json-module