Skip to content

An ember engines example application that has a parent app with shared data store, model and dynamic component routing

Notifications You must be signed in to change notification settings

ezy/ember-engines-example

Repository files navigation

Ember Engines Example App

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.

Ember engines example diagram

Prerequisites

You will need the following things properly installed on your computer.

Installation

  • git clone <repository-url> this repository
  • cd ember-engines-example
  • npm install

Running / Development

Code Generators

Make use of the many generators for code, try ember help generate for more details

Running Tests

  • ember test
  • ember test --server

Linting

  • npm run lint:js
  • npm run lint:js -- --fix

Building

  • ember build (development)
  • ember build --environment production (production)

Deploying

Specify what it takes to deploy your app.

Further Reading / Useful Links

About

An ember engines example application that has a parent app with shared data store, model and dynamic component routing

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published