This is a Laravel starter kit using VueJs and Core UI (Bootstrap Free Admin Template). Only support for Laravel ^5.5.
You can install the package via composer
composer require daemswibowo/camvret
In Laravel 5.5 the service provider will automatically get registered. Now just run this command via terminal
php artisan camvret:install
This command will publish all the important resources for you (The default file will replaced).
Install node modules
npm install
Build assets
npm run prod
# For production build
npm run dev
# For development build
npm run watch
# For development build & watch source change
Read more on Laravel documentation about frontend development command.
Add role
and permission
middleware to your app/Http/Kernel.php
file in the $routeMiddleware
array section.
protected $routeMiddleware = [
// ...
'role' => \Spatie\Permission\Middlewares\RoleMiddleware::class,
'permission' => \Spatie\Permission\Middlewares\PermissionMiddleware::class,
];
Setup your database configuration then run migrate
command:
php artisan migrate --seed
And then run php artisan serve
. And login with the default user superadmin@foo.com
and password secret
All vue components are in the resources/assets/js
folder, you can add or modify the file. Enjoy!
Thank you to all this beautiful package.
MIT. Please see the license file for more information.