[SOLVED] Redirect page and hide sidebar
Hey there, i want to do this: redirect to another page-component.
My problem is that the sidebar still on the left side. I would like the page to open full width, without left sidebar.
Yes, i tryied the this.$route.push(), but this is not what i want.
I will be grateful for any answers.
like here, in the bottom of navigation there is “Login” page
You can use a different Layout for your page-components. One with, one without left sidebar, for example.
@jraez thank you for your response!
I tryed like this:
component: () => import(“layouts/RegisterLayout.vue”),
component: () => import("…/components/auth/Register.vue")
And my Register Layout unfortunately still have left sidebar (
This is my LoginLayout.vue:
<q-layout view=“lHh lpR fFf” class=“img-background”>…</q-layout>
Thank you very much! With your help I solved the problem, my mistake was that I put the LoginLayout.vue in the MainLayout.vue.
Now working )))