@snapey Also,
Trying to convert
@foreach ($clients as $client)
<div>{{$client->name}}</div>
@endforeach
over to VueJS is a pain, and then I have to figure out how to convert simple Auth functionality like
@if ($user->isAdmin())
is a lot of extra lines of code that I am struggling to begin to understand.
Quite frankly it seems that in the creation of Laravel and the blade syntax, the future movement toward Javascript use in the DOM was not considered enough.
It would be great if Jeffrey Way would pick one Javascript framework like VueJS and implement it into Laravel in a way that works within blade syntax so we could easily have both.
I've spent so much time learning Laravel, then learning Blade, only to learn that the newest functionality is found in VueJS or Angular or React, which breaks all of my training and work in using Blade templating all these years.
Again, should I just convert to VueJS away from Blade?
I found this article addressing VueJS and Auth -https://medium.com/@sadnub/vuejs-and-laravel-auth-part-2-5-d7c9d0263226
I found this article on converting @foreach statements in Blade to VueJS - https://vegibit.com/how-to-use-vuejs-with-laravel-blade/
Which seems to require an extra 9,000 lines of code to make it happen.
Here is another tutorial on how to use
So, the latest Laravel includes VueJS automatically, but it doesn't working in an integrated way with the Blade templating system.
And when you move to using VueJS, but need Auth functionality, you need to switch to something like JWT-Auth, as suggested by multiple tutorials, like this one: https://medium.com/@ripoche.b/create-a-spa-with-role-based-authentication-with-laravel-and-vue-js-ac4b260b882f
Which includes another 7,532 lines of code to accomplish the Auth tasks.
Wasn't the point of Laravel to provide these types of functionality without a million lines of code we have to write?
I recall a few hundred Laravel videos saying "See how easy that was??" with Jeffrey Way touting the 3 lines of code that accomplished so much.
With Javascript development in the forefront, pushing for more Single Page Apps, essentially spending 90% of our code making changes to the DOM, Laravel's functionality is getting left behind... it seems.
I'm not sure where to go from here.