This package adds artisan commands to create VueJS components and InertiaJS components.
You can install the package via composer:
composer require arielmejiadev/laravel-vue-commands --dev
php artisan vue-commands:install
By default, Vue components are going to be stored in resources/js/Components
& Inertia components would be stored in resources/js/Pages
.
This behavior could be customized by changing the values in the config file.
php artisan vendor:publish --tag=vue-commands-config
Create a VueJS components:
php artisan make:vue Badge
You can see the component from resources/js/Badge.vue
Create an InertiaJS components:
php artisan make:inertia Users/Index
You can see the component from resources/js/Pages/Users/Index.vue
composer test
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email arielmejiadev@gmail.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.
This package was generated using the Laravel Package Boilerplate.