Questions tagged [ember-pods]

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:

8 questions
5
votes
1 answer

Ember-Cli refactoring to use pods

I have just started to refactor our Ember application to use Pods so that our directory/file structure is more manageable. At the same time i have upgraded Ember-Cli so I am running with the following configuration: Ember : 1.8.1 Ember Data :…
2
votes
1 answer

Ember CLI pod structure migration

I just started using Ember for a real application, and already got myself into a bit of a bind. I set up my environment.js file with the following: modulePrefix: 'appname', podModulePrefix: 'appname/pods' However, this did not work and Ember CLI…
Gurnzbot
  • 3,742
  • 7
  • 36
  • 55
2
votes
1 answer

How to add integration tests for components defined in an ember-addon

Here is the structure of my ember-addon. addon/ .. components/ .... my-component/ ...... component.js ...... style.less ...... template.hbs .. engine.js .. routes.js app/ .. components/ .... my-component/ ...... component.js .. etc .. tests/ …
shane
  • 246
  • 2
  • 17
1
vote
3 answers

Ember CLI with Pods

I've been trying to move my Ember app across to use pods in preparation of 2.0. I moved all the files, set the environment.js paramters and now my app shows nothing but the empty index.html. What have I done wrong? I've attached screenshots of my…
Drew Baker
  • 14,154
  • 15
  • 58
  • 97
0
votes
1 answer

How to hide a section in .hbs and .js while taking an ember production build

Our Ember application is developed in 2.8 version and we follow POD structure. We are generating two different builds as below 1) For our dev server : No change in code,just do build 2) For our test server: Delete a section in HBS and also remove a…
JalilIrfan
  • 158
  • 1
  • 14
0
votes
0 answers

How to use ember data "sub-models" when using pods

I have a json like this: { id: 'some-id', username: 'myusername', name: { first: 'first-name', last: 'last-name' } } I'm using pods with the following structure: pods/ user/ model.js serializer.js …
mumia
  • 83
  • 1
  • 10
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

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