Add some Vue related components. Prep for inclusion of passport and other tools.

This commit is contained in:
James Cole
2018-01-31 17:55:49 +01:00
parent d0e0054b00
commit e3d6f4f00f
11 changed files with 14561 additions and 4 deletions

22
resources/assets/js/app.js vendored Normal file
View File

@@ -0,0 +1,22 @@
/**
* 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.
*/
require('./bootstrap');
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.
*/
Vue.component('example-component', require('./components/ExampleComponent.vue'));
const app = new Vue({
el: '#app'
});