We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently it contains this:
Open app.js and change:
app.js
App = Ember.Application.create();
TO:
`App = Ember.Application.createWithMixins(Bootstrap);``
However, using ember cli (recommended), creates an app.js file like this:
import Ember from 'ember'; import Resolver from 'ember/resolver'; import loadInitializers from 'ember/load-initializers'; Ember.MODEL_FACTORY_INJECTIONS = true; var App = Ember.Application.extend({ modulePrefix: 'demo-app', // TODO: loaded via config Resolver: Resolver }); loadInitializers(App, 'demo-app'); export default App;
and in index.html the App object is created
index.html
<script> window.DemoApp = require('demo-app/app')['default'].create(DemoAppENV.APP); </script>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently it contains this:
Register Bootstrap for Ember components [I DONT THINK WE NEED THIS ANYMORE?]
Open
app.js
and change:App = Ember.Application.create();
TO:
`App = Ember.Application.createWithMixins(Bootstrap);``
However, using ember cli (recommended), creates an
app.js
file like this:and in
index.html
the App object is createdThe text was updated successfully, but these errors were encountered: