What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-01-26 05:55:47
how to redirect from login page to other page if user is already logged in in angular using jwt
const ROUTES = [ { path: '', redirectTo: 'home', pathMatch: 'full' }, { path: 'login', component: LoginComponent }, { path: 'register', component: RegisterComponent }, { path: 'home', component: HomeComponent }, { path: 'books', component: BookC... Add solution