Skip to content
This repository has been archived by the owner on Apr 13, 2020. It is now read-only.

Dashboard as home #22

Open
SylvaTech opened this issue Oct 30, 2019 · 2 comments
Open

Dashboard as home #22

SylvaTech opened this issue Oct 30, 2019 · 2 comments

Comments

@SylvaTech
Copy link

SylvaTech commented Oct 30, 2019

Hi,
How can I make the home to display the dashboard component as soon as I login without clicking the dashboard button first. Like mounting the dashboard component on the home.blade.php

@balduinofernando
Copy link

Just change the js route
"/dashboard"
To this "/" and the component name as Dashboard

@assiffdev
Copy link

Hi,
In Laravel 6, open loginController.php and comment and add method as follows
// protected $redirectTo = '/dashboard';
public function redirectTo(){
return '/dashboard';
}
Now After successful login Dashboard will be open. This is returning route what you have defined in rotues/web.php.

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

No branches or pull requests

3 participants