ember-cli-json-module
v1.0.0
Published
Import JSON files into your ember-cli app.
Downloads
13,434
Maintainers
Readme
ember-cli-json-module
This addon adds support for importing JSON files into your Ember CLI app, using broccoli-json-module.
Installation / Usage
From within your Ember CLI application, run the following:
ember install ember-cli-json-module
Then, any JSON 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';