Merge pull request #4952 from andrewgorpenko/andrewgorpenko-patch-1
Fix unterminated statements
This commit is contained in:
4
resources/js/app.js
vendored
4
resources/js/app.js
vendored
@@ -17,8 +17,8 @@ window.Vue = require('vue');
|
|||||||
* Eg. ./components/ExampleComponent.vue -> <example-component></example-component>
|
* Eg. ./components/ExampleComponent.vue -> <example-component></example-component>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// 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).default))
|
// files.keys().map(key => Vue.component(key.split('/').pop().split('.')[0], files(key).default));
|
||||||
|
|
||||||
Vue.component('example-component', require('./components/ExampleComponent.vue').default);
|
Vue.component('example-component', require('./components/ExampleComponent.vue').default);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user