mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-07 13:41:23 +00:00
Upgrade to Laravel 10, Vite 5+
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { defineAsyncComponent } from 'vue'
|
||||
|
||||
export const defineGlobalComponents = (app) => {
|
||||
const components = import.meta.globEager('./components/base/*.vue')
|
||||
const components = import.meta.glob('./components/base/*.vue', { eager: true })
|
||||
|
||||
Object.entries(components).forEach(([path, definition]) => {
|
||||
// Get name of component, based on filename
|
||||
|
||||
Reference in New Issue
Block a user