I’m using Sage 11 with Acorn v5 and followed the official Acorn routing documentation.
The problem:
When I run:
wp acorn route:list
I get:
Your application doesn't have any routes.
What I’ve tried so far:
- Verified that my routes are defined in
routes/web.php
:
<?php
use Illuminate\Support\Facades\Route;
Route::get('/test', function () {
return 'Route works!';
});