Questions tagged [ember-cli-addons]
82 questions
3
votes
0 answers
Not able to design respponsive modal dialog like fb
I have used ember-modal-dialog addon to use the dialog box.I want to replicate the exact modal dialog what fb is using.But I am not able to get it working.How can I achieve this.
app.scss
.image-overlay-container .card {
width: auto;
height:…

nandanself
- 835
- 8
- 21
3
votes
1 answer
Ember.js/Addon: How do I jshint all javascript files?
I'm writing an ember.js addon. When running ember test Ember will add generic should pass jshint tests to my test suite. That's great as far as it goes, but the javascript files from the main directory (index.js, Brocfile.js) are missing as are the…

jnfingerle
- 713
- 4
- 16
3
votes
2 answers
Ember-cli addon read configurations
I am trying to create an ember-cli addon and I want this addon to include custom command. This part I have already done by creating a lib/commands file structure and including the script that will run the command then used includedCommands in the…

tomasbasham
- 1,695
- 2
- 18
- 37
3
votes
1 answer
Cannot find helpers in unit tests in an Ember CLI project registered by an Addon
I'm using some helpers defined by an Ember CLI Addon and everything works automatically in the Ember app itself but unit testing using ember-qunit is a bit tricky.
According to the ember-qunit doc, dependencies can be specified in needs like…

egilmore
- 31
- 1
2
votes
1 answer
How to add to an ember blueprint's renamedFiles property?
An ember blueprint has a static property called renamedFiles that by default renames gitignore from the files folder to .gitignore in the target folder.
The question is, how can I extend this list?
So far I tried these in the index.js of my…

Chee7ah
- 23
- 4
2
votes
0 answers
ember cli pagination not working
Hi I want to create a pagination for my application for that i am using spring-boot Pagination and ember-cli-pagination. Before using spring-boot pagination, rest controller returns data in the following format,
[{
"id" : 56789,
"name" : "sample…

VelNaga
- 3,593
- 6
- 48
- 82
2
votes
1 answer
ember-cli-eslint error build passes
In an Ember application, I'm trying to switch from jshint to eslint. I've followed the readme for https://github.com/ember-cli/ember-cli-eslint. Everything seems to work when I run "ember test", except when there is an eslint error the build will…

wwwuser
- 6,282
- 8
- 52
- 64
2
votes
1 answer
#ember-power-select, How to set a preselected value in ember-power-select custom-search action
There must be a value set in "selected" attribute before typing in search parameter".Can anyone help me to sort this out ? #ember-power-select
It is working with normal action-handling by setting a value for "destination" in js and assigning…

rinold simon
- 2,782
- 4
- 20
- 39
2
votes
2 answers
ember.js - using the ember manifest plugin
I want to have a manifest in my ember app, because I want to use it on mobile devices and have some offline capabilities.
I have found the plugin ember-cli-deploy-manifest:
https://github.com/ember-cli-deploy/ember-cli-deploy-manifest
It is well…

Vilhelm H.
- 1,315
- 1
- 7
- 15
2
votes
2 answers
EmberCLI - Determining environment from request early in the page lifecycle
I have an EmberCLI app where Staging and Prod both live on the same S3 bucket, and in config/environment.js the environment variable is the same. Still I need to be able to specify different settings for the two "environments".
The surefire way to…

TwoLeggedMammal
- 53
- 5
2
votes
1 answer
How should I specify a minimum version of Ember.js in my ember-cli addon?
I've just published an ember-cli addon using features available only in projects that have updated to Ember 2.x by making the required changes to their package.json and bower.json.
How should I specify that the addon will only work with Ember 2.x?

Gabriel Grant
- 5,415
- 2
- 32
- 40
2
votes
0 answers
NPM test error on ember CLI
I was trying to test the app using npm test inside my ember application i ran through following error. How could i find which line has caused the error? Thanks in advance .
My system is ubuntu 14.0.4TLS
My node version is :
node -v : v0.12.7
ember…

iamsuman
- 1,413
- 19
- 32
1
vote
0 answers
CSS Images in EmberJS addons
I'd like to know the idiomatic way to reference css images (images linked in css through url(...) ) from within an Ember addon.
Ostensibly the addon public/ folder will get merged with dist/ in the final build and the css files will be merged with…

Alexandros K
- 947
- 1
- 6
- 19
1
vote
1 answer
Is it possible to use ember-cli-addon-docs with an in-repo addon?
I have an ember.js in-repo addon and would like to add documentation using ember-cli-addon-docs. Is this possible?
I installed the addon at application level and in my ember-cli-build.js I added:
'ember-cli-addon-docs': {
documentingAddonAt:…

thisFunction
- 31
- 4
1
vote
0 answers
How can I modify my Ember Addon build based on the template contents?
I'm working on the @fortAwesome/ember-fontawesome addon. I'd like to be able to find the icons that have been used in templates and include the necessary JS into the final build.
Template:
{{fa-icon icon='bacon'}}
I can use…

jrjohnson
- 2,401
- 17
- 23