Upgrade to Laravel 10, Vite 5+

This commit is contained in:
Darko Gjorgjijoski
2024-01-28 17:17:32 +01:00
parent 35e897a731
commit cd9df54c5b
43 changed files with 3428 additions and 3175 deletions

View File

@@ -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