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

How to Add Login Page in this project #80

Open
dharmeshsharma opened this issue Jan 7, 2020 · 2 comments
Open

How to Add Login Page in this project #80

dharmeshsharma opened this issue Jan 7, 2020 · 2 comments

Comments

@dharmeshsharma
Copy link

We have implement same theme and really help but how we add login page without main layout.
kindly fixed.

thanks
Dharmesh

@TwanoO67
Copy link
Owner

TwanoO67 commented Jan 7, 2020

Hello,

As said in the readme: you can declarer a route with the Layout for login

// not logged routes
    {
      component: LayoutLoginComponent,
      path: 'login'
    },

@TwanoO67
Copy link
Owner

TwanoO67 commented Jan 7, 2020

more precisely, you can use the LayoutLogin and your own login component like so:

{
    children: [
      {
        component: MyLoginComponent,
        path: ''
      }
    ],
    component: LayoutLoginComponent,
    path: 'login',
  }

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