-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't get it to run at all #13
Comments
Services are lazy, so you need to use var toast = this.get('toast');
// use toast |
I have this problem, too. but |
Sounds module unification related, since it's still pre alpha 👍 |
sorta, import Resolver from 'ember-resolver/resolvers/fallback';
// import Resolver from 'ember-resolver/resolvers/glimmer-wrapper';
import { merge } from '@ember/polyfills';
import buildResolverConfig from 'ember-resolver/ember-config';
import config from '../config/environment';
let moduleConfig = buildResolverConfig(config.modulePrefix);
/*
* If your application has custom types and collections, modify moduleConfig here
* to add support for them.
*/
merge(moduleConfig.types, {
config: { definitiveCollection: 'main' },
locale: { definitiveCollection: 'main'},
'ember-i18n@config': { definitiveCollection: 'main' },
'util': { definitiveCollection: 'utils' }
});
moduleConfig.collections.main.types.push('config');
export default Resolver.extend({
config: moduleConfig
}); I have other stuff in here in an attempt to get ember-i18n working... but there is no hope of that atm. both ember, and ember-resolver need to expose a config api so that addons can add to the config in a safe way (the existing way is kind of intimate / hacky.
|
No errors, just this.toast / self.toast undefined.
ember-cli: 2.11.1
node: 6.10.0
os: linux x64
The text was updated successfully, but these errors were encountered: