HTTP - Axios integrated

This commit is contained in:
Indrajith K L
2017-11-02 15:47:14 +05:30
parent 70a7e6c3c2
commit a7ccf2688f
5 changed files with 46 additions and 4 deletions

View File

@@ -1,12 +1,17 @@
import Backbone from 'backbone';
import TestView from './view';
import _ from 'underscore';
import Http from './http';
Backbone.history.start();
class Index {
constructor() {
new TestView();
Http.config = {
baseURL: 'http://demo1393194.mockable.io/'
};
new TestView(); //MainView
}
}