Ember CLI, Staging, and You
At first glance, you'd think that ember build --environment staging would work, but it doesn't right now, and perhaps won't. In the meantime, working with proxys is easier and feels much better anyway. Try using ember serve --proxy http://localhost:3000
to connect to your localhost API for dev, and for staging, just run ember build
.
Written by Ulises Ramirez-Roche
Related protips
1 Response
passing --proxy is about to be deprecated, see https://github.com/stefanpenner/ember-cli/issues/1601
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ember.js
Authors
ryrych
11.71K
michalbryxi
6.718K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#