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
1
vote
0 answers

"undefined is not a function" in dependency checker

I have a addon which used to work in Ember CLI 0.1.4 but now that I'm using 0.2.0 I think the likely improved ember-cli-dependency-checker is not letting my addon do it's magic. The addon in question can be found here: ui-bs-popover. My theory is…
ken
  • 8,763
  • 11
  • 72
  • 133
1
vote
1 answer

Can I two way bind a model property in ember without a template for the component?

I have a simple ember component import Ember from 'ember'; export default Ember.Component.extend({ tagName: 'input', type: 'text', attributeBindings: ['value', 'type'] }); I'm trying to "not" require a template (on purpose) ... but when…
Toran Billups
  • 27,111
  • 40
  • 155
  • 268
1
vote
2 answers

Ember-CLI Application + Working with Ember-CLI Addon

So I have this Ember-CLI Application that I am working on that has a shared resource Ember-CLI Addon that it uses. I am developing on both of them at the same time. I was wondering if there was any way to setup the Application to auto reload when…
Primm
  • 1,438
  • 3
  • 12
  • 16
1
vote
0 answers

Conditionally import/instantiate an object from an addon

I'd like to make an addon that imports config from the host app, then inject + instantiates a class based on ENV vars In particular I'm working with Pretender, and I want to be able to import the user's config from either their ENV or some…
Sam Selikoff
  • 12,366
  • 13
  • 58
  • 104
1
vote
1 answer

ember-cli blueprint - included hook not called

I'm currently working on an ember-cli addon with a blueprint that should setup bootstrap and my overwrite-styles for any projects that include it. The thing is that the included: function(app, parentAddon) {} hook in the index.js file of my…
David Philip
  • 185
  • 1
  • 8
1
vote
0 answers

Are ember-addons required to include ember-data and ember-qunit?

So basically I made an ember-addon that doesn’t require ember-data nor ember-qunit (I wrote my tests using ember-cli-mocha), so I removed them and their dependencies from my package.json and bower.json. The problem is when I try to build the addon,…
charles_demers
  • 125
  • 2
  • 6
1
vote
1 answer

Inject controller actions from within Ember Addon

Lets say I have a standalone addon with a playback component: {{my-record play="recordPlay" stop="recordStop"}} /app/components/my-record.js import Ember from 'ember'; export default Ember.Component.extend({ actions: { play: function() { …
WooDzu
  • 4,771
  • 6
  • 31
  • 61
1
vote
2 answers

How can I get the namespace of the including application in an Ember CLI Addon?

I'm creating an Ember CLI ember-addon, and in my addon's files I need access to the app's config. I have no way of knowing what the app including this addon will be named, so I can't simply do import ENV from 'app-name/config/environment' like I…
Kerrick
  • 7,420
  • 8
  • 40
  • 45
0
votes
2 answers

Triggering live-reloading when developing an Ember addon

I'm developing a private Ember addon for my team that will contain a few branded UI components that we will reuse in a bunch of different apps, such as a and . Is there an standard for creating a development…
0
votes
1 answer

Ember addon: Could not find module from within component

In a new ember 3.28 addon project: npm install chart.js --save ember g component-class chart Insert into application.hbs on dummy app and in addons/component/chart.js, add this import Chart from 'chart.js/auto'; Running app…
user1814277
  • 304
  • 2
  • 9
0
votes
1 answer

Move component to another DOM node using ember-maybe-in-element

I have a use case where I can move a child component to different DOM location within same page/route dynamically. home.hbs
Sankeerna Reddy
  • 161
  • 2
  • 8
0
votes
1 answer

How to debug Ember addon with breakpoints in VS Code

Am trying to get breakpoints to work in VS Code with an Ember addon (version 3.18). Have tried launch.json as: { "version": "0.2.0", "configurations": [ { "type": "edge", "request": "launch", "name": "Launch Edge against…
user1814277
  • 304
  • 2
  • 9
0
votes
1 answer

Is there any "ember-moment-shim" alternative for dayJS?

ember-moment-shim is an ember addon that generates the locales conditionally based on Moment.js and Moment-Timezone. Any tools or processes to accomplish the same with just DayJs instead. Ref:…
Sarath Damaraju
  • 309
  • 2
  • 13
0
votes
1 answer

Updating Ember.js with moment.js, lost bower and now?

We have been using moment for the past few year in our software via ember-moment. After some time with production version frozen we are now updating. First step was to move up to 2.16 when we got the perception that we should not use shim any more,…
lpinto.eu
  • 2,077
  • 4
  • 21
  • 45
0
votes
0 answers

Failed to decode downloaded font - ember-cli (3.7.1)

I'm facing this font decoding issue after I deploy ember cli app to heroku. It works fine in my localhost. I'm using @font-face rule for custom font and ember addon for material-icons(ember-material-icons). Any helps would be appreciated. Thanks in…
Vivekraj K R
  • 2,418
  • 2
  • 19
  • 38