Files
spa-api/resources/js/app.js

23 lines
626 B
JavaScript
Raw Normal View History

2016-07-10 21:07:27 -05:00
2016-07-23 11:39:11 -05:00
/**
2016-07-23 12:28:02 -05:00
* First we will load all of this project's JavaScript dependencies which
2016-11-03 17:06:06 -05:00
* includes Vue and other libraries. It is a great starting point when
2016-07-23 12:28:02 -05:00
* building robust, powerful web applications using Vue and Laravel.
2016-07-23 11:39:11 -05:00
*/
2016-07-23 12:28:02 -05:00
require('./bootstrap');
2016-07-23 11:39:11 -05:00
2017-04-17 15:30:36 -05:00
window.Vue = require('vue');
2016-07-23 11:39:11 -05:00
/**
2016-07-23 12:28:02 -05:00
* Next, we will create a fresh Vue application instance and attach it to
2016-10-10 07:56:44 -05:00
* the page. Then, you may begin adding components to this application
* or customize the JavaScript scaffolding to fit your unique needs.
2016-07-23 11:39:11 -05:00
*/
Vue.component('example-component', require('./components/ExampleComponent.vue'));
2016-07-24 23:00:18 -05:00
const app = new Vue({
2016-10-02 21:33:42 -05:00
el: '#app'
2016-07-23 11:39:11 -05:00
});