Skip to content

Commit c09ee0f

Browse files
authored
Revert - Update app.js
1 parent 4ca874e commit c09ee0f

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

resources/js/app.js

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

28-
// Register global components (excluding pages and layouts to resolve code-splitting errors)
29-
Object.entries(import.meta.glob([
30-
'./**/*.vue',
31-
'!./pages/**/*.vue',
32-
'!./layouts/**/*.vue'
33-
], { eager: true })).forEach(([path, definition]) => {
28+
Object.entries(import.meta.glob('./**/*.vue', { eager: true })).forEach(([path, definition]) => {
3429
app.component(
3530
path
3631
.split('/')

0 commit comments

Comments
 (0)