I've installed Laravel Nova (using Laravel 5.6). App\Providers\NovaServiceProvider::class
is registered in my config/app.php
file. But when I go to https://localhost:1234/nova
I get a 404
error.
I have cleared my caches and run a composer dump-autoload
. How can I get this route working?
EDIT: When I run php artisan route:list
the nova-api
routes are there but there is no route for nova
.
Also, the migrations were not copied across after nova:install
. I am working with an existing Laravel project.
You have to clear the config cache for the changes to actually apply:
php artisan config:clear