We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2dff275 commit c43d299Copy full SHA for c43d299
src/Presets/vue-stubs/app.js
@@ -26,7 +26,7 @@ app.component('example-component', ExampleComponent);
26
* Eg. ./components/ExampleComponent.vue -> <example-component></example-component>
27
*/
28
29
-// Object.entries(import.meta.globEager('./**/*.vue')).forEach(([path, definition]) => {
+// Object.entries(import.meta.glob('./**/*.vue', { eager: true })).forEach(([path, definition]) => {
30
// app.component(path.split('/').pop().replace(/\.\w+$/, ''), definition.default);
31
// });
32
0 commit comments