Questions tagged [ember-cli-pods]

Structuring ember.js project hierarchy structure by feature.

ember.js is heavily uses "convention over configuration" paradigm. In its default project structure, directory hierarchies are divided by functional types. For bigger projects, the need of division by feature is increased. ember-pods can be used to separate the directory hierarchies by their features.

For more readings:

13 questions
6
votes
3 answers

Where do we store css styles in and Ember CLI Pods app?

I am reading http://www.ember-cli.com/#stylesheets which says: Ember CLI supports plain CSS out of the box. You can add your css styles to app/styles/app.css and it will be served at assets/application-name.css. Is there a folder structure…
Christian Fazzini
  • 19,613
  • 21
  • 110
  • 215
5
votes
2 answers

Ember - Set a Dynamic Page Title per route

I have set up my Ember app to use the pod structure. I've created a topbar-nav component which I display on the main page. In the topbar-nav component I have set up the page title, which I would like to set automatically per route so for the…
Sabin
  • 747
  • 5
  • 10
2
votes
2 answers

What happens when we first boot our app using Ember JS?

I am new to ember and I have been through the Ember JS Documentation for a while and suddenly struck with two questions. I even surfed on the Internet for hours and barely could find a solution. So, here are they: Question 1: Quoting Ember…
Panther Coder
  • 1,058
  • 1
  • 16
  • 43
2
votes
2 answers

Where do 3rd party JS libraries go?

In an Ember CLI app. If one wanted to use https://github.com/twbs/bootstrap/blob/master/js/tooltip.js http://www.ember-cli.com/ does not seem to mention anything specific about this. Where would this file typically be stored? At first glance, I was…
Christian Fazzini
  • 19,613
  • 21
  • 110
  • 215
2
votes
2 answers

Are there any limitations in using the pod structure in Ember CLI?

I am planning to move my Ember CLI application to the pod structure. Are there any limitations or disadvantages in the pod structure that I should be aware of?
Info Seeker
  • 107
  • 4
  • 9
1
vote
1 answer

EMBER JS - Fetch associated model data from back-end only when required

store.findRecord('school', school_id, { include: [ 'students', 'students.records' ].join(',') Using the above code fetching school, students, students' records data in inital…
nagasundaram I
  • 139
  • 1
  • 3
1
vote
1 answer

How to customize ember-cli build to exclude source code concat

I have rather a large application, right now about 5mb for app.js and 1mb+ in vendor js. I assume it will cross 10mb, our target users are on slow internet and each user have different rights so most of the components are not available to a user. I…
Aamir Mahmood
  • 2,704
  • 3
  • 27
  • 47
1
vote
1 answer

how to render two pods content on the same page?

I'm new to ember/ember-cli and am slowly getting my head around the immense learning curve... I have come across an issue I was hoping someone could advise me on... I have an App that displays a contact and then places tabbed content underneath the…
ShopApps.co.uk
  • 93
  • 2
  • 12
0
votes
1 answer

Ember livereload not working when scss file updated in pod structure

I have the following structure: app/ pods/ components/ user-login/ component.js style.scss template.hbs Template files and component files livereload correctly, however, when I save changes to my style files in…
0
votes
1 answer

Ember-Cli: 1.1.3.8 / Ember.Js >=2.0 Import Js-Libs into Pods/Components

Is there a way to include Javascript Libraries directly into Pods or Components without import in via app.import. Explanation I want to use and Javascript-Library only in one Component, without the need to reference it in the global manner.…
Marcus
  • 65
  • 7
0
votes
1 answer

How do I pass the value of a query param into the form?

My URL looks like http://localhost:4099/checkout/schedule/new?addressId=12 I am trying to pass the query param addressId to the form. I've tried submitting it as a hidden input, but by the time it hits the save action. I check the Network tab of…
Christian Fazzini
  • 19,613
  • 21
  • 110
  • 215
0
votes
1 answer

Ember: object resolving of nested resources

I've recently started using Ember.js with Ember-CLI and I'm pretty excited. But there are some things that are not clear for me. Here is my router: this.resource("authenticated", { path: '/' }, function() { this.resource("contacts", function() { …
0
votes
1 answer

Submitting a form sends blank values to API, why?

After integrating Pods with one of my resource address. All seems well, except when I submit the form (with valid values) in app/checkout/address/new/template.js. I get POST http://localhost:4099/api/v1/addresses in the console tab in Ember…
Christian Fazzini
  • 19,613
  • 21
  • 110
  • 215