infoalto/admin

Este é um pacote de admin criado para a infoalto

Installs: 57

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Language:CSS

v1.1.6 2019-08-08 19:42 UTC

This package is auto-updated.

Last update: 2024-11-20 07:14:16 UTC


README

Instalar

Adicionar "Infoalto\\Admin\\": "packages/infoalto/admin/src" em autoload->psr-4 em composer.json

Adicionar Infoalto\Admin\MainServiceProvider::class, em providers em config/app.php

Comandos

Gerar Arquivos base: php artisan vendor:publish --tag=admin

Gerar Views: php artisan vendor:publish --tag=views

Gerar CSS e JS do template: php artisan vendor:publish --tag=public

Gerar Controllers: php artisan vendor:publish --tag=controller

Gerar Seeds: php artisan vendor:publish --tag=seeds UsersTableSeeder::class, RolesTableSeeder::class, PermissionsTableSeeder::class composer dump-autoload

Mudar rotas de redirectTo para /painel e inserir Route::get('/painel', '\Infoalto\Admin\Controllers\PainelController@index')->name('painel'); em routes/web.php