既存のファイル化されているフロントコードを全てassetsに移動し、mixビルドの準備

This commit is contained in:
shibafu
2019-03-05 00:06:04 +09:00
parent 70f007b6d2
commit 6a1848e311
9 changed files with 27 additions and 139 deletions

View File

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