Questions tagged [ember-addon]

Extensions for ember.js applications

ember.js addons are specific extensions for ember.js applications.

To find ember.js addons have a look at these listings:

To develop ember.js addons have a look at these resources:

93 questions
2
votes
1 answer

ember-cli and the contentFor method in an Ember Addon dependency chain

My problem is I am unable to get the contentFor method in an addon to run when this addon is used in a dependency of another addon (confusing I know). My organization has an in-house ember addon that we use to distribute common styles, images and…
robabby
  • 2,160
  • 6
  • 32
  • 47
2
votes
1 answer

Deploying Ember application with Addon to Github Pages

My organization is using Ember addons to develop a set of shared components between our applications. Let's call this repository app-components. Currently the components application's primary responsibility is to distribute CSS, fonts and images.…
robabby
  • 2,160
  • 6
  • 32
  • 47
2
votes
1 answer

how to use in-repo-addons in the ember-engines?

I have created and ember in-repo-addon. Let's say say-hello. After that I created ember-eninge. Let's say users-engine. In may main application I can directly use the addon as //application.hbs {{say-hello}} How to use it in the users-engine…
murli2308
  • 2,976
  • 4
  • 26
  • 47
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
2
votes
1 answer

strange behavior ember infinity addon

I try to implement ember-infinity add-on in my app, So I updated my Api to return the same meta uses by the add-on, but the behavior is strange. I expect the first n records display on my div, and when I go to the bottom it fires the next request…
paridin
  • 429
  • 7
  • 14
2
votes
1 answer

How to read Ember-cli config file from addon?

Is there another way besides reading config file with this.container.lookupFactory('config:environment').modulePrefix; inside and object initializer? Seems a bit odd to do this
abFx
  • 313
  • 3
  • 14
2
votes
1 answer

Running the dummy app in an Ember addon project can't find app/styles/app.less

I'm trying to test an Ember addon project by running ember server inside an addon project. This runs the dummy app. However I am not getting my less files automatically being build with the ember-cli-less functionality (expecting…
Nikos
  • 7,295
  • 7
  • 52
  • 88
1
vote
1 answer

How do I access ENV from config/environment in an addon?

This is a question that was asked by @dbendaou over on the Ember Discord What is the best way to access ENV from config/envirnoment in an addon? I was thinking about getOwner(this).lookup('config:environment') but it doesn't work neither does…
NullVoxPopuli
  • 61,906
  • 73
  • 206
  • 352
1
vote
1 answer

ember-addon - afterInstall hook does not update my ember app package.json

Im trying to create an Ember Addon that uses the blueprint afterInstall hook. I have read https://cli.emberjs.com/release/writing-addons/addon-blueprints/ My addon is called hello-world. I generated my addon blueprint by ember generate blueprint…
kitimenpolku
  • 2,604
  • 4
  • 36
  • 51
1
vote
1 answer

How to use ember sass in ember addon and correctly implement it into ember project

The following problem needs to be solved: I try to create a component within an ember addon, that's using sass. Within my addon I don't want to compile that scss files, that should be done within my project using ember-cli-sass and…
andreas.teich
  • 789
  • 1
  • 12
  • 22
1
vote
2 answers

Implementing Routes in Ember Addon

I am new to ember. I am planning to create an addon to share across the application. My addon having screens to navigate. I have no idea how to apply the routes or implementing routes inside ember addon. And moreover, I want to share the addon with…
1
vote
2 answers

ember-bootstrap errors when rendering a form

I have a problem using ember-bootstrap to render a form. When the route is visited nothing is rendered and in the console the message appears. The project is a Bootstrap 3 project and I have just installed ember-boostrap. To do that I did the…
glaucon
  • 8,112
  • 9
  • 41
  • 63
1
vote
1 answer

ember-custom-actions addon urlForCustomAction not working

I am trying to use ember-customer-actions(v2.1.0) addon with my ember version = 3.1.4. It is really a cool addon and ease our life while implementing customer actions and urls. It's configuration say to override this method 'urlForCustomAction' to…
omair azam
  • 520
  • 7
  • 14
1
vote
1 answer

Ember CLI + Watchman Not Detecting Addon Changes

I have an Ember.js addon which Watchman does not seem to operate correctly with. Any changes made to the addon-name/app files do not trigger a rebuild. However, changes to files within addon-name/tests do trigger a rebuild. I have a .watchmanconfig…
Kameron Kincade
  • 514
  • 1
  • 7
  • 18
1
vote
1 answer

Ember datatables not able to redraw after changing data

I am using ember-datatables addon which is based on jquery Datatables. I have created one datatables as per their guidelines. But I am chaning the data of table after some time and redrawing the table. Redrawing table do not delete previous…
murli2308
  • 2,976
  • 4
  • 26
  • 47