May 31, 04:39 PM
I am busy building an app using Wave V2 as my base, however I would like to add Vue. How can I do this in Wave v2?
I tried going the traditional laravel route by
composer require laravel/ui php artisan ui vue
However this causes a problem with npm. The first time npm runs it will give a vulnerability warning on
object-path. Then running
npm audit fix will result in a new vulnerability warning for
npm audit fix again results in the original error. These two errors then cycle back and forth without ever resolving. I have spent hours trying to resolve this, does anybody have any advice for me?
Edit: Is there a better way to create a dynamic app within Wave-v2? Before Wave I was building my own SAAS apps with Laravel 7 + Bootstrap 4 + Vue2. I took a break from Laravel during COVID and by the time I came back Laravel 8 was released and my skills were horribly outdated.
June 1, 11:42 PM
The Laravel UI package is already shipped with Wave, so you don't have to run the
composer require laravel/ui command. You can check this with the following command:
php artisan | grep ui:
What you could do is manually install Vue with
npm. You could follow the steps on how to do that without the UI package here.
Alternatively I could suggest checking out Laravel Livewire, it is pretty cool and easy to get started with.
I would recommend taking a look at this playlist on YouTube that shows how to build a SaaS from scratch with Livewire and Wave:
Hope that this helps!