A small application that provides a robust example of how a standalone ember engine
interacts with it's parent app. In the parent application, there is a single model and route (post)
that is fetched and stored in Ember Simple Store.
The simpleStore
service is then shared between the parent app and the ember engine,
allowing the model from the parent to be accessed or fetched fresh on load.
The engine contains a sub-route complete with controller and template, alongside two
components that can be changed dynamically using a param within the sub-post.js
controller.
You will need the following things properly installed on your computer.
- Git
- Node.js (with npm)
- Ember CLI
- Google Chrome
git clone <repository-url>
this repositorycd ember-engines-example
npm install
ember serve
- Visit your app at http://localhost:4200.
- Visit your tests at http://localhost:4200/tests.
Make use of the many generators for code, try ember help generate
for more details
ember test
ember test --server
npm run lint:js
npm run lint:js -- --fix
ember build
(development)ember build --environment production
(production)
Specify what it takes to deploy your app.