Skip to content
This repository was archived by the owner on Mar 30, 2021. It is now read-only.

Latest commit

 

History

History
19 lines (13 loc) · 491 Bytes

File metadata and controls

19 lines (13 loc) · 491 Bytes

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