lundi 6 juillet 2015

EmberJS CoffeeScript Config/Environment Include JSON

I want to include some of the configuration from separate JSON file into EmberJS using CoffeeScript.

env = require("dev_env.json")

Returns:

Error: Cannot find module 'dev_env.json'




Aucun commentaire:

Enregistrer un commentaire