How to use the ember-cli-app-version/initializer-factory function in ember-cli-app-version

To help you get started, we’ve selected a few ember-cli-app-version examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ember-cli / ember-cli-app-version / app / initializers / app-version.js View on Github external
import initializerFactory from 'ember-cli-app-version/initializer-factory';
import config from '../config/environment';

let name, version;
if (config.APP) {
  name = config.APP.name;
  version = config.APP.version;
}

export default {
  name: 'App Version',
  initialize: initializerFactory(name, version)
};

ember-cli-app-version

Adds App version number to Ember Inspector Info Tab

MIT
Latest version published 5 months ago

Package Health Score

70 / 100
Full package analysis

Popular ember-cli-app-version functions