folio icon indicating copy to clipboard operation
folio copied to clipboard

Route [] not defined when using filament v3

Open As3ad10 opened this issue 9 months ago • 2 comments

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.

As3ad10 avatar Mar 07 '25 05:03 As3ad10

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?

crynobone avatar Mar 07 '25 06:03 crynobone

yes but no response https://github.com/filamentphp/filament/discussions/8269#discussion-5591861

As3ad10 avatar Mar 18 '25 17:03 As3ad10

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.

crynobone avatar May 20 '25 10:05 crynobone