Merge pull request #4867 from ajthinking/patch-1

[5.7] Fixed mixed up comment order
This commit is contained in:
Taylor Otwell
2018-11-27 08:14:28 -06:00
committed by GitHub

4
resources/js/app.js vendored
View File

@@ -17,11 +17,11 @@ window.Vue = require('vue');
* Eg. ./components/ExampleComponent.vue -> <example-component></example-component> * Eg. ./components/ExampleComponent.vue -> <example-component></example-component>
*/ */
Vue.component('example-component', require('./components/ExampleComponent.vue'));
// const files = require.context('./', true, /\.vue$/i) // const files = require.context('./', true, /\.vue$/i)
// files.keys().map(key => Vue.component(key.split('/').pop().split('.')[0], files(key))) // files.keys().map(key => Vue.component(key.split('/').pop().split('.')[0], files(key)))
Vue.component('example-component', require('./components/ExampleComponent.vue'));
/** /**
* Next, we will create a fresh Vue application instance and attach it to * Next, we will create a fresh Vue application instance and attach it to
* the page. Then, you may begin adding components to this application * the page. Then, you may begin adding components to this application