Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no content in dashboard #40

Open
davisharry opened this issue Jun 30, 2023 · 1 comment
Open

no content in dashboard #40

davisharry opened this issue Jun 30, 2023 · 1 comment

Comments

@davisharry
Copy link

After I follow the laravel guide, it work with the login page, register page. But after the registration, nothing shows up in the /dashboard, and no errors, no logs.

@DiegoAlonso27
Copy link

have you seen if you have named the file as home view in the routes?

guide:

Route::middleware(['auth:sanctum', 'verified'])->get('/dashboard', function () { return Inertia::render('Home'); })->name('dashboard');

as it should be:

Route::middleware(['auth:sanctum', 'verified'])->get('/dashboard', function () { return Inertia::render('HomeView'); })->name('dashboard');

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants