daemswibowo/camvret

:description

1.0.0 2018-10-10 06:47 UTC

This package is auto-updated.

Last update: 2024-05-10 19:43:39 UTC


README

Latest Version on Packagist Total Downloads

This is a Laravel starter kit using VueJs and Core UI (Bootstrap Free Admin Template). Only support for Laravel ^5.5.

Installation

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

Usage

All vue components are in the resources/assets/js folder, you can add or modify the file. Enjoy!

Credits

Thank you to all this beautiful package.

License

MIT. Please see the license file for more information.

Buy Me A Coffee