Route [] not defined when using filament v3
Folio Version
1.1
Laravel Version
11
PHP Version
8.2
Description
Getting Route [home] not defined when using laravel/folio and filament v3
Steps To Reproduce
resources/views/components/nav.blade.php
<a href="{{ route('home') }}" class="navbar-brand" aria-label="{{ config('app.name') }}">
{{ config('app.name') }}
</a>
resources/views/pages/guest/index.blade.php
<?php
use function Laravel\Folio\name;
use function Laravel\Folio\{middleware};
name('home');
middleware(['web']);
?>
<x-layouts.app :title="__('Home')">
<h1>Home Page</h1>
</x-layouts.app>
Note: when I remove filament v3 it works well.
Note: when I remove filament v3 it works well.
Seems like Filament is currently not compatible with Folio. Have you try creating an issue on the Filament repository?
yes but no response https://github.com/filamentphp/filament/discussions/8269#discussion-5591861
Hey there,
We're closing this issue because it's inactive, already solved, old, or not relevant anymore. Feel free to open up a new issue if you're still experiencing this problem.