Prepare component

This commit is contained in:
Arturo Corro 2025-03-22 12:45:45 -06:00
parent 3d01657c78
commit 99d54737de
3 changed files with 13 additions and 3 deletions

View File

@ -30,7 +30,17 @@ class VuexyWebsiteLayoutPortoServiceProvider extends ServiceProvider
// Registrar Livewire Components // Registrar Livewire Components
$components = [ $components = [
//'user-count' => UserCount::class, // Porto template
'vuexy-website-layout-porto::template-index' => TemplateIndex::class,
// Banners
'vuexy-website-layout-porto::banners-index' => BannersIndex::class,
// Widgets
'vuexy-website-layout-porto::widgets-index' => WidgetsIndex::class,
// Custom CSS
'vuexy-website-layout-porto::custom-css-index' => CustomCssIndex::class,
]; ];
foreach ($components as $alias => $component) { foreach ($components as $alias => $component) {

View File

@ -11,7 +11,7 @@
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"Koneko\\VuexyWebsiteLayoutPorto\\": "" "Koneko\\VuexyWebsiteLayoutPorto\\": "./"
} }
}, },
"extra": { "extra": {

View File

@ -1,7 +1,7 @@
<?php <?php
use Illuminate\Support\Facades\Route; use Illuminate\Support\Facades\Route;
use Koneko\VuexyAdmin\Http\Controllers\UUserController; use Koneko\VuexyAdmin\Http\Controllers\UserController;
// Grupo raíz para admin con middleware y prefijos comunes // Grupo raíz para admin con middleware y prefijos comunes
Route::prefix('admin')->name('admin.')->middleware(['web', 'auth', 'admin.settings'])->group(function () { Route::prefix('admin')->name('admin.')->middleware(['web', 'auth', 'admin.settings'])->group(function () {