Laravel dev
Illuminate\Contracts\Container\BindingResolutionExceptionTarget class [universal] does not exist.
<?php
use Illuminate\Support\Facades\Route;
// routes/web.php, api.php or any other central route files you have
foreach (config('tenancy.central_domains') as $domain) {
Route::domain($domain)->group(function () {
//imprimir vista welcome
Route::get('/', function () {
return view('welcome');
});
});
}
To work on the main domain it should be like this, is there something that is put in web route?
38 replies
Illuminate\Contracts\Container\BindingResolutionExceptionTarget class [universal] does not exist.
No, in fact I didn't adjust anything when installing filament, I had first installed livewire and followed its documentation in Laravel tenancy, but I didn't edit anything about filament because nothing came out of it
38 replies
Illuminate\Contracts\Container\BindingResolutionExceptionTarget class [universal] does not exist.
but according to the livewire documentation I followed it and it worked only on the livewire and the breeze correctly, but when it came to using filament it only gave me an error
38 replies
Illuminate\Contracts\Container\BindingResolutionExceptionTarget class [universal] does not exist.
try {
$reflector = new ReflectionClass($concrete);
} catch (ReflectionException $e) {
throw new BindingResolutionException("Target class [$concrete] does not exist.", 0, $e);
}
this part that shows the error
38 replies
Illuminate\Contracts\Container\BindingResolutionExceptionTarget class [universal] does not exist.
Without filament the subdomains and main domains work correctly, but the issue is that when I want to use filament, when I start the session I get that error, or else I would have to do everything manually
38 replies
Illuminate\Contracts\Container\BindingResolutionExceptionTarget class [universal] does not exist.
it is not allowed
'features' => [
// Stancl\Tenancy\Features\UserImpersonation::class,
// Stancl\Tenancy\Features\TelescopeTags::class,
// Stancl\Tenancy\Features\UniversalRoutes::class,
// Stancl\Tenancy\Features\TenantConfig::class, // https://tenancyforlaravel.com/docs/v3/features/tenant-config
// Stancl\Tenancy\Features\CrossDomainRedirect::class, // https://tenancyforlaravel.com/docs/v3/features/cross-domain-redirect
// Stancl\Tenancy\Features\ViteBundler::class,
],
38 replies
Illuminate\Contracts\Container\BindingResolutionExceptionTarget class [universal] does not exist.
No, I have already configured the tenancy issue, the only thing missing is the part of the administration panel that would be for creating new tenants, and managing them there, from the main domain, and I was thinking of doing it with filament
38 replies
Illuminate\Contracts\Container\BindingResolutionExceptionTarget class [universal] does not exist.
The issue is that I want to use subdomains due to the project requirement, not a universal route, could it be done that way with filament?
38 replies