Laravel Vue Commands
This package adds artisan commands to create VueJS components and InertiaJS components.
Installation
You can install the package via composer:
composer require arielmejiadev/laravel-vue-commands --dev
Publish Commands & Stubs
php artisan vue-commands:install
Publish config file
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
Usage
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
Testing
composer test
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.