ember-env-helper
v0.0.2
Published
Statically reference environment variables in template
Downloads
1
Readme
ember-env-helper
Use your environment variable in templates with ease, just pass environment variable key to {{env 'key'}}
helper which then be replaced with real value with ast-transform each build.
Installation
ember install ember-env-helper
Usage
{{env 'someEnvVariable'}}
let ENV = {
someEnvVariable: 'value',
...
}
Compatibility
- Ember.js v3.4 or above
- Ember CLI v2.13 or above
- Node.js v8 or above