1.0.0 • Published 6 years ago

ember-cli-json-module v1.0.0

Weekly downloads
4,529
License
MIT
Repository
github
Last release
6 years ago

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';