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.
Verify App\Providers\NovaServiceProvider is in your provider list.
config/app.php
App\Providers\NovaServiceProvider::class,
to the providers
Note that this answer is relative to @jszobody's anwser and a direct answer to a question following up upon that aforementioned tweet. https://twitter.com/taylorotwell/status/1032300773655408640
Without this, it is possible to see the Nova panel, though it remains empty. A fresh install at this time will show a "Help" Card on the Dashboard.
I ran into this problem too. Add Nova::routes();
to your routes/web.php
and reload /nova
in your browser.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With