Questions tagged [ember.js]
Ember.js is an MVC application framework written in JavaScript. Consider making your question easier to answer by using the preconfigured templates mentioned in this tag's wiki. (Always specify version of ember used when describing your issue)
22,791 questions
0
votes
0answers
8 views
Ember why do we have to use import for certain bower dependencies
In an Ember app, when using certain dependencies like moment installed via bower, we have to also import the same in the ember-cli-build.js file:
app.import('bower_components/moment/moment.js');
My ...
0
votes
1answer
26 views
Using nodeJs to scrape and check Ember.VERSION from website
I want to check Ember.VERSION from a list of websites, how can I check external URLs by using NodeJs?
0
votes
0answers
30 views
Ember store selects incorrect model
I'm implementing new page for existing Ember application.
DEBUG: -------------------------------
DEBUG: Ember : 2.16.4
DEBUG: Ember Data : 2.16.4
DEBUG: jQuery : 3.3.1
DEBUG: ...
0
votes
1answer
14 views
Active Model Serializer with Ember - how to add an element to the collection
I have 2 models Country and Language linked with HABTM relation.
I'm using Rails API with ActiveModelSerializer and Ember JS as frontend.
So how is it possible to add a new language to country....
0
votes
0answers
29 views
Javascript updating tree object with new position of items
I am creating a drag and click feature - and have a parent/child object - which picks up a group and its re-arranged state. How do I update the stored object with a new re-arranged child - or parent ...
0
votes
1answer
17 views
How to pass Error Message to Route from a different Controller in Ember js
Let, I have two routes and two controllers namely login and signup
If I signup successfully then I want to perform transition to the route login with a success message as parameter,
/app/signup/...
0
votes
1answer
24 views
Get JWT Token Created During User profile creation : Ember js
I am using ember-simple-auth and jwt to authenticate a user profile, this is a code for signup and after signing up I wan't to print the token value created(which is in the response) in the console
...
0
votes
1answer
31 views
can i assign a click event or <A> on a whole Ember component?
i have an Ember component with tagName:'li'
The template looks like so:
<div> title</div>
<div> image </div>
<div> text </div>
The outcome is <li> ...
1
vote
1answer
16 views
Computed properties are not re-calculating when dependent oneWay CP updates
Lets say I have a oneWay CP which is initially bound to a model property (and is hence free to diverge if updated)
The CP can be set to values fixed & dynamic. I have some equal CPs which in turn ...
1
vote
1answer
30 views
What does it mean to lazily install a dependency
On the following page (https://simplabs.com/blog/2017/02/13/npm-libs-in-ember-cli.html), it says;
With Ember 2.11 we are now using the ember-source module and no longer
the ember Bower package. ...
0
votes
0answers
56 views
+350
Ember FastBoot server-side rendering + RSpec file fixtures giving Net::ReadTimeout when using Capybara + Selenium-webdriver
I'm noticing a strange issue that I haven't been able to solve for a few days.
I have a Rails 5 API server with system tests using RSpec and Capybara + Selenium-webdriver driving headless Chrome.
I'...
1
vote
0answers
23 views
EmberJS: Exclude a folder from being watched for changes
How can I exclude a particular folder from being watched in Ember CLI?
0
votes
0answers
12 views
ember-simple-auth Route after authentication not working
I'm following usePods and using jwt authentication with Django-rest in backend and ember js in front end
I'm giving a portion of my code (authentication code)
Please find a solution why ...
0
votes
1answer
16 views
EmberJS: Customize Ember CLI build
I want to transform a file and put it in another directory as a part of the dev and prod build processes. How can I achieve this?
1
vote
1answer
21 views
How to determine the environment of your ember app
How can I access the environment of my ember application? My goal is to have a computed property called isStaging to check if the environment is staging