Download the PHP package mahmoud-mhamed/inertia-vue-helpers without Composer
On this page you can find all versions of the php package mahmoud-mhamed/inertia-vue-helpers. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mahmoud-mhamed/inertia-vue-helpers
More information about mahmoud-mhamed/inertia-vue-helpers
Files in mahmoud-mhamed/inertia-vue-helpers
Package inertia-vue-helpers
Short Description This is my package inertia-vue-helpers
License MIT
Homepage https://github.com/mahmoud-mhamed/inertia-vue-helpers
Informations about the package inertia-vue-helpers
This is my package inertia-vue-helpers
Installation
You can install the package via composer:
Before Use Any Command
must add \Mahmoudmhamed\InertiaVueHelpers\Providers\PackageServiceProvider::class to config=>app->providers array
Before Use Any Command
for laravel < 11
must add to config -> app -> providers array
for laravel >= 11
must add to config -> app.php
to force publish any file add --force to command
Publish Command To Clone Enums From app => Enums To resources => js => enum.js:
Publish Command To Clone Lang Folder from php To resources => js => lang:
Publish Command To Clone Abilities from app => classes => Abilities.php To resources => js => ability.js:
Publish Vue Ability directive
add to app.js
import {ability_if,ability_else} from "@/directive/AbilityDirective";
.directive('ability', ability_if)
.directive('else-ability', ability_else)
You Can Run Command From package.json by add to scripts
To allow auto generate file if use vite.config.js in plugins array add
publish vue commponets to path resources/js/Components
Tag | publish file | description |
---|---|---|
ElTextComponent | Text/ElText.vue | |
ElButtonComponent | Buttons/ ElPrimaryButton.vue,ElSecondaryButton.vue,ElSubmitButton.vue | |
/ElLoadingDots.vue |
publish make chart js or apex chart
Changelog
Please see CHANGELOG 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
- mahmoud-mhamed
- All Contributors
License
The MIT License (MIT). Please see License File for more information.