Hey, Can anyone help me with that?
I have been using Wamp to run php at my localhost and (ember serve) to Ember, but i couldn’t figure out how to run them together.
Hey, Can anyone help me with that?
I have been using Wamp to run php at my localhost and (ember serve) to Ember, but i couldn’t figure out how to run them together.
What do you mean with running them together?
An Ember app si just a bunch of regular files you may drop anywhere. Nothing prevents you from serving them with your Apache, it’s just a matter of setting it up to do so.
You should take a look at customizing the adapter:
You should do something like:
import JSONAPIAdapter from 'ember-data/adapters/json-api';
export default JSONAPIAdapter.extend({
namespace: 'api/',
host: 'http://localhost:8080'
});