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

    QSideLink not working

    Framework
    2
    2
    1108
    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.
    • A
      aslam last edited by

      Hello.vue file in a quasar-cli generated application has the following comment for left drawer:
      <!–
      Use <q-side-link> component
      instead of <q-item> for
      internal vue-router navigation
      –>
      But, q-side-link is not working for me. I placed the following in the q-list:
      <q-side-link item to="/all">
      <q-item-main label=“All” />
      </q-side-link>
      and imported QSideLink in script section.

      Then I get a lint warning that ‘‘QSideLink’ is defined but never used’ and the loaded html page in browser continue to have q-side-link in it, and is not replaced by a div.

      There are no search results in Quasar github repository for QSideLink or q-side-link.
      The documentation page is this: http://quasar-framework.org/components/layout-side-links.html

      Please help.

      1 Reply Last reply Reply Quote 0
      • benoitranque
        benoitranque last edited by

        Remember you must import and register components

        import {
          QSideLink
        } from quasar
        export default {
          components: {
            QSideLink
          }
        }
        
        1 Reply Last reply Reply Quote 0
        • First post
          Last post