Import JSON files into your ember-cli app.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
index.js
package.json
yarn.lock

README.md

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