This is my directory structure:  controllers/ ---- restaurant/     ----items.js ---- index.js ---- restaurant.js   And my router declaration:  this.route("restaurants",{ path: "/restaurants" });  this.resource("restaurant", {...
I'm using Ember CLI 1.13 and I'm attempting to create a router mixin in an addon that binds to the willTransition hook, but the issue I'm encountering is not limited to this event.   At this point the mixin looks like such:  import Ember...
I am puzzled about importing dependencies in ember-cli, especially about the standard AMD case, as mentioned in the official Ember Cli document. The document doesn't provide much of examples, and seems to me it assumes the readers have good knowl...
I have 2 views that share a view and I am trying to pass variables between them to turn on|off various html segments.  Is this possible?  When I run console.log the view.showTitle variable = "view.showTitle" not 1 like it should be? Odd, righ...
In an ember.js application that I am working on (ember v1.8.0-beta1, ember-cli), I have a page with a simple sign-up type form that includes a country select dropdown. The problem is that since this field has a relatively large number of options (244...
In my app I have this initializer which injects the store into all services:  export function initialize(container, application) {   application.inject('service', 'store', 'store:main'); }  export default {   name: 'inject...
Based on recommendations for the preparation for Ember 2.0...     • In general, replace views + controllers with components   • Only use controllers at the route level...   ...we're supposed to eschew Controllers and Views in favor of Compone...
Is there a way to exclude a folder from a build in a Brocfile (or any other place). The use case is packaging, where I have an app made of sub-apps within pods. eg.  /app/modules/components /app/modules/app1 /app/modules/app2 /app/modules/app3   I...
I've seen other similar questions here and here but neither of those worked for me.  I'm on a mac and simply installed ember cli using npm and I thought it would work out of the box. Here is the server output:   version: 0.1.4 Could not find...
Ember CLI applications have a package.json that lists everything as a dev dependency. Even stuff that is needed in the app's production version. For instance packages like ember and ember-data are installed as devdependencies.  As a reference, he...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.