No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    [SOLVED] Redirect page and hide sidebar

    Help
    2
    5
    542
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      Kate last edited by Kate

      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

      1 Reply Last reply Reply Quote 0
      • J
        jraez last edited by jraez

        You can use a different Layout for your page-components. One with, one without left sidebar, for example.

        1 Reply Last reply Reply Quote 0
        • K
          Kate last edited by

          @jraez thank you for your response!
          I tryed like this:
          {
          path: “/register”,
          component: () => import(“layouts/RegisterLayout.vue”),
          children: [
          {
          path: “”,
          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>

          1 Reply Last reply Reply Quote 0
          • K
            Kate last edited by

            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 )))

            1 Reply Last reply Reply Quote 0
            • J
              jraez last edited by

              You’re welcome!

              1 Reply Last reply Reply Quote 0
              • First post
                Last post