Skip to content

ember-cli/ember-resolver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Nov 19, 2024
43d38d2 · Nov 19, 2024
Jun 7, 2024
Nov 19, 2024
Nov 19, 2024
Sep 28, 2016
Jun 14, 2022
Jul 25, 2023
Aug 15, 2016
Jun 14, 2022
Jul 25, 2023
Jul 25, 2023
Jul 25, 2023
Nov 19, 2024
Jun 20, 2015
Nov 19, 2019
Oct 31, 2013
Sep 28, 2016
Aug 11, 2023
Apr 11, 2020
Sep 24, 2024
Nov 19, 2024

Ember Resolver CI Build

The Ember Resolver is the mechanism responsible for looking up code in your application and converting its naming conventions into the actual classes, functions, and templates that Ember needs to resolve its dependencies, for example, what template to render for a given route. It is a system that helps the app resolve the lookup of JavaScript modules agnostic of what kind of module system is used, which can be AMD, CommonJS or just plain globals. It is used to lookup routes, models, components, templates, or anything that is used in your Ember app.

This project provides the Ember resolver used by ember-cli

Installation

ember-resolver is an ember-cli addon, and should be installed with ember install:

ember install ember-resolver

Configuration

To customize pluralization provide a pluralizedTypes object to your applications resolver:

// app/app.js
import Resolver from 'ember-resolver';

export default class AppResolver extends Resolver {
  pluralizedTypes = {
    ...this.pluralizedTypes,
    'sheep': 'sheep',
    'strategy': 'strategies'
  }
}

// ...snip...
export default class App extends Application {
  // ...snip...
  Resolver = AppResolver;
}

// ...snip...

Addon Development

Installation

  • git clone this repository
  • npm install
  • bower install

Running

Running Tests

  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit http://www.ember-cli.com/.