'use strict';

import './polyfills/Array.find';
import 'whatwg-fetch';

import Vue from 'vue';
import VueRouter from 'vue-router';

import DefaultRouter from './routers/DefaultRouter';
import Store from './stores/Store';
import App from './components/App';

// Inject additional package dependencies
Vue.use(VueRouter);

// Main app instance
new Vue({
  router: DefaultRouter,

  store: Store,

  template: '<App/>',

  components: {
    App
  },

  // Global options for VueResource
  http: {
    root: '',
    headers: {
      //
    }
  }
}).$mount('#app');

'use strict';

import './polyfills/Array.find';
import 'whatwg-fetch';

import Vue from 'vue';
import VueRouter from 'vue-router';

import DefaultRouter from './routers/DefaultRouter';
import Store from './stores/Store';
import App from './components/App';

// Inject additional package dependencies
Vue.use(VueRouter);

// Main app instance
new Vue({
  router: DefaultRouter,

  store: Store,

  template: '<App/>',

  components: {
    App
  }
}).$mount('#app');

Remove vue-resource global options from app init
Remove vue-resource global options from app init
