Merge pull request #4952 from andrewgorpenko/andrewgorpenko-patch-1
Fix unterminated statements
This commit is contained in:
commit
505a891db6
|
|
@ -17,8 +17,8 @@ window.Vue = require('vue');
|
|||
* Eg. ./components/ExampleComponent.vue -> <example-component></example-component>
|
||||
*/
|
||||
|
||||
// const files = require.context('./', true, /\.vue$/i)
|
||||
// files.keys().map(key => Vue.component(key.split('/').pop().split('.')[0], files(key).default))
|
||||
// const files = require.context('./', true, /\.vue$/i);
|
||||
// files.keys().map(key => Vue.component(key.split('/').pop().split('.')[0], files(key).default));
|
||||
|
||||
Vue.component('example-component', require('./components/ExampleComponent.vue').default);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue