#Migrating mix to vite
7 messages · Page 1 of 1 (latest)
Mainly wireui not properly loading.
Getting the error: Class "Arr" not found whenever I use a component of them
That's a composer package..? Or..?
Im sorry, yes it is.
https://wireui.dev/
So I wanted to check if I made any mistakes or forgot some stuff while migrating mix to vite
If it's errors on the backend, then it wouldn't be something from Vite
Its on the frontend when I try to go to a page, if that page contains a component of them I just get that error. They are using Illuminate\Support\Arr in their files so just making sure my migration was correct. Also dont really know how to use minified assets as I previously had:
<script src="{{ asset('js/app.min.js') }}?ver={{ filemtime(public_path('js/app.js')) }}" defer></script> and now just i tried loading them using: @vite(['resources/js/app.js', 'resources/css/app.css']) because i had some problems when I didnt have that but i forgot which i had
Eh..? It's a PHP error, not a JS error? So not sure how that would be "on the frontend" and caused by Vite?