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

21 lines
577 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
* include Vue and Vue Resource. This gives a great starting point for
* 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
/**
2016-07-23 12:28:02 -05:00
* Next, we will create a fresh Vue application instance and attach it to
* the body of the page. From here, you may begin adding components to
* the application, or feel free to tweak this setup for your needs.
2016-07-23 11:39:11 -05:00
*/
2016-07-24 23:00:18 -05:00
Vue.component('example', require('./components/Example.vue'));
const app = new Vue({
2016-10-02 21:33:42 -05:00
el: '#app'
2016-07-23 11:39:11 -05:00
});