1๐
I found a solution. I will create a base vue layout. Then when page load i redirect to the login component and load base layout (importing as a local component). Then when redirect to other page (for example a component with drawer) i will load this component but will load the base layout too.
To help to do that i will use Vue slots. I see how works here. The video is in spanish but i think we can understands it.
- [Vuejs]-Vue pass value of inputfield, and the reference to the object
- [Vuejs]-Vue js for loop with a condition
0๐
As per the documentation, this is included as of Laravel 5.7
You generate scaffolding and publish the components with:
composer require laravel/ui "^1.0" --dev
php artisan ui vue --auth
It will get you started with an example component so see how you can call that from a blade template.
https://laravel.com/docs/6.x/authentication#included-routing
๐คjeremykenedy
Source:stackexchange.com