Add support for mapping Laravel routes directly to Vue components.
worksome/laravel-direct-vue-routing is a Laravel package for add support for mapping laravel routes directly to vue components..
It currently has 3 GitHub stars and 256.657 downloads on Packagist (latest version v0.1.4).
Install it with composer require worksome/laravel-direct-vue-routing.
Discover more Laravel packages by worksome
or browse all Laravel packages to compare alternatives.
Last updated
Add support for mapping Laravel routes directly to Vue components.
You can install the package via composer:
composer require worksome/laravel-direct-vue-routing
Optionally, you can publish the views using:
php artisan vendor:publish --tag="direct-vue-routing-views"
class TestController
{
public function __invoke()
{
return response()->vue('MyVueComponent', ['myProp' => 'my-data'])
}
}
composer test
Please see GitHub Releases for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.