Twill is an open source CMS toolkit for Laravel that helps developers rapidly create a custom admin console that is intuitive, powerful and flexible. Chat with us on Discord at https://discord.gg/cnWk7EFv8R.
The /admin route throws a 404 error when using a fresh Laravel 11 install and the basic-page-builder preset. I narrowed it down to the catch-all route that is being used: Route::get('{slug}', [\App\Http\Controllers\PageDisplayController::class, 'show'])->name('frontend.page');.
Steps to reproduce
Use a fresh install of Laravel 11 and go through the "Installation" steps defined in the docs and use the basic-page-builder starter kit.
Expected result
I can access the admin via /admin.
Actual result
A 404 error gets thrown when trying to access /admin.
Description
The
/admin
route throws a 404 error when using a fresh Laravel 11 install and thebasic-page-builder
preset. I narrowed it down to the catch-all route that is being used:Route::get('{slug}', [\App\Http\Controllers\PageDisplayController::class, 'show'])->name('frontend.page');
.Steps to reproduce
Use a fresh install of Laravel 11 and go through the "Installation" steps defined in the docs and use the
basic-page-builder
starter kit.Expected result
I can access the admin via
/admin
.Actual result
A 404 error gets thrown when trying to access
/admin
.Versions
Twill version: 3.3.1 Laravel version: 11 PHP version: 8.3 Database engine: MySQL