Skip to content

Commit 327a875

Browse files
committed
Update app.js
1 parent 937a2bd commit 327a875

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

resources/js/app.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,7 @@ const app = createApp(App)
2525
const head = createHead()
2626
const pinia = createPinia()
2727

28-
// Register global components (excluding pages and layouts)
29-
Object.entries(
30-
import.meta.glob(['./**/*.vue', '!./pages/**/*.vue', '!./layouts/**/*.vue'], { eager: true })
31-
).forEach(([path, definition]) => {
28+
Object.entries(import.meta.glob('./**/*.vue', { eager: true })).forEach(([path, definition]) => {
3229
app.component(
3330
path
3431
.split('/')

0 commit comments

Comments
 (0)