Files
exchange/resources/assets/js/app.js
T
2018-04-30 14:16:53 +08:00

33 lines
874 B
JavaScript

/**
* First we will load all of this project's JavaScript dependencies which
* includes Vue and other libraries. It is a great starting point when
* building robust, powerful web applications using Vue and Laravel.
*/
/*
window.Vue = require('vue');*/
/**
* Next, we will create a fresh Vue application instance and attach it to
* the page. Then, you may begin adding components to this application
* or customize the JavaScript scaffolding to fit your unique needs.
*/
require('./bootstrap');
import Vue from "vue";
import router from "./router";
import App from "./App.vue";
import VueResource from "vue-resource";
import {store} from './store';
import './utils/interceptors';
Vue.config.productionTip = false;
Vue.use(VueResource);
/* eslint-disable no-new */
new Vue({
el: '#app',
store,
router,
template: '<App/>',
components: {App}
});