-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
joesama edited this page Apr 27, 2018
·
3 revisions
You can get the code via composer as below:
composer require joesama/vuegrid
For Laravel 5.4 user, to bind the packages you need to register service provider in your config/app.php file.
'providers' => [
'...',
Joesama\VueGrid\VueGridProvider::class,
];For Laravel 5.5+ you can auto-register the package with the framework.
In your config/app.php file , define VueGrid alias at the
'aliases' => [
'VueGrid' => Joesama\VueGrid\Services\Grid::class
];For Laravel 5.5+ you can auto-register the alias with the framework.
Adding flexibility in usage, you need to publish all the view, config, asset. php artisan vendor:publish will do the trick
Next step, put @stack('vuegrid-css') in your header (where you define CSS)
& @stack('vuegrid-js') and in your footer (where you define JS)
Follow this Guideline To Build Your VueGrid