Skip to content

Add support for mapping Laravel routes directly to Vue components.

License

Notifications You must be signed in to change notification settings

worksome/laravel-direct-vue-routing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

38ced65 · Mar 12, 2025

History

12 Commits
Mar 12, 2025
Mar 12, 2025
Mar 13, 2023
Mar 13, 2023
Mar 13, 2023
Mar 12, 2025
Mar 12, 2025
Mar 12, 2025
Mar 13, 2023
Mar 13, 2023
Mar 12, 2025
Mar 12, 2025
Mar 12, 2025
Mar 13, 2023
Mar 13, 2023
Mar 12, 2025

Repository files navigation

Laravel Direct Vue Routing

Latest Version on Packagist GitHub Tests Action Status GitHub Static Analysis Action Status Total Downloads

Add support for mapping Laravel routes directly to Vue components.

Installation

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"

Usage

class TestController
{
    public function __invoke()
    {
        return response()->vue('MyVueComponent', ['myProp' => 'my-data'])
    }
}

Testing

composer test

Changelog

Please see GitHub Releases for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.