Questions tagged [ember-cli-addons]

82 questions
12
votes
1 answer

How to extend an ember-cli addon?

In my ember-cli app i have installed an addon called 'ember-cli-selectize'. Looking at the directory structure i can see that its files are located at /node_modules/ember-cli-selectize'. Now i want to create a custom component that extends this…
Saarang
  • 155
  • 2
  • 8
10
votes
1 answer

Move Entire Folder using Broccoli JS in Ember CLI Project

I am developing an ember-cli project and I am working on a system that allows me to resolve templates that have not been loaded and may possibly live outside of the project structure. I would like to have a folder in my dist/assets directory called…
BillPull
  • 6,853
  • 15
  • 60
  • 99
8
votes
1 answer

ember-cli@0.2.0 component templates in an addon

I'm wondering what the convention to use is when creating a component inside an addon project... If I generate a component in my addon project using ember-cli@0.2.0, the blueprint will create a js file in addon/components, a template in…
7
votes
1 answer

How should I import Bower dependencies from an Ember-cli addon into the consuming application?

I am successfully importing a jQuery plugin via Bower to be used in a component in an Ember-cli addon. However, this only works is because I defined a Bower dependency on this plugin in both the addon and the consuming application. This seems like…
Kevin Boucher
  • 16,426
  • 3
  • 48
  • 55
7
votes
1 answer

How do you import a newly created ember addon?

I'm trying to create my first Ember AddOn and I'm getting stuck importing it into an Ember project. I've created the addon and published to github like this: ember-cli$ ember addon test-addon ember-cli$ cd test-addon ember-cli/test-addon$ git remote…
spinlock
  • 3,737
  • 4
  • 35
  • 46
6
votes
1 answer

How to add css styles in app.css for ember js addon

I am creating ember addons and there are few css styles which this addon requires to work properly! How do i add them so that when a consuming application uses this addon the particular css styles are directly added to the app.css file of the…
wallop
  • 2,510
  • 1
  • 22
  • 39
6
votes
4 answers

Added Liquid Fire to Ember CLI project, {{liquid-outlet}} does nothing

I recently added Liquid Fire to my Ember CLI 0.2.3 project by following this steps outline in this tutorial: http://www.programwitherik.com/doing-animations-and-transitions-with-liquid-fire-and-ember/ I added Liquid Fire with npm install --save-dev…
amhasler
  • 67
  • 1
  • 6
5
votes
1 answer

Ember addon to add files to root directory

I have an addon which needs to copy a set of JS files from their bower directory to the Ember app's root of /dist (this is for scoping rules associated with service workers). I thought maybe I could use the treeForApp hook but while I'm getting no…
ken
  • 8,763
  • 11
  • 72
  • 133
5
votes
1 answer

Separate environment config in Ember

I'm using the ember-cli to build my app, which gives me a nice app.js file that I can server up on a static asset server. What is the most idiomatic way to allow for a separate configuration at deployment time? For example, I might tell the…
Brian Genisio
  • 47,787
  • 16
  • 124
  • 167
5
votes
1 answer

How to override default functionality in Ember-addons

In the ember-cli documentation it describes bridging the addon within your host application by overriding the app/component/[addon-name.js] yourself. However, the documentation doesn't explicitly state how to do this. With trial and error I've…
sam
  • 753
  • 1
  • 6
  • 15
4
votes
1 answer

Ember.js: How to Inject application settings

I am writing an emberjs application where I wrote a custom component to load images from a sprite file. However, I wanted to make the component generic and to be able to load any image from a file specified in the template. For instance, I want to…
MojoJojo
  • 3,897
  • 4
  • 28
  • 54
4
votes
1 answer

Ember.js error "Cannot read property 'container' of undefined" when using Liquid Fire

I'm a beginner to front-end development and trying to utilize Ember.js for my project. I stumbled upon a great talk by Edward Faulkner about Liquid Fire at EmberConf 2015. It looked incredibly easy to apply and so I decided to give it a try. My app…
melnychuk
  • 43
  • 5
3
votes
2 answers

How to integrate other ember app to existing project?

I am working on ember cli version 1.12 and node js version v0.12.7,I want to intergrate ember-cli-barcode addon.I have tried following: ember install:npm ember-cli-barcode Then it will show message that it required node version 4 >.So I have used…
3
votes
0 answers

How can I get css sourcemaps to work in this Ember app?

Sass compilation is working fine, but I want to be able to see the source of the style in Chrome developer tool. I have ember-cli-sass installed and in ember-cli-build.js I am sending the following option to the EmberApp constructor. sassOptions:…
soultrust
  • 581
  • 1
  • 7
  • 17
3
votes
1 answer

Save data in localstorage of browers in ember simple auth

I have used ember-simple-auth for fb login.I am able fetch the fb's access_token and sending the token to my server for exchange of server token.This works fine and and I am able to make my transition to user feed page.But the problem I am facing is…
1
2 3 4 5 6