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

    Dynamic left drawer to pages.

    Help
    3
    4
    1465
    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.
    • Samulwong
      Samulwong last edited by

      Hi guys.
      I think the drawer of Q-layout is very convenient as a sub menu, or a collapse main menu.
      Since I saw the drawer was defined in the layout.vue, how can I do if I have a share layout with share main menu on top header ( toolbar), while different pages have their own left drawer?
      I tried to define and export various in the page.vue but it’s not work to {{}} it in layout.
      Please help. Thank you.

      1 Reply Last reply Reply Quote 1
      • rstoenescu
        rstoenescu Admin last edited by

        Put QLayoutDrawer inside of every QPage – this way you have a specific drawer for each page.

        1 Reply Last reply Reply Quote -1
        • J
          joeyezekiel last edited by

          This is the error when you try it: QLayoutDrawer needs to be child of QLayout

          1 Reply Last reply Reply Quote 0
          • rstoenescu
            rstoenescu Admin last edited by

            Yes. You need a QLayout first to start with. Then you can use QLayoutDrawer, QPageContainer, QPage etc etc

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