QTree 0.15 with router links

  • How do we get router links working with the QTree in version 0.15 ?
    I tried the following:

                <q-item slot="header-file" slot-scope="prop"  :to="{name: 'logs', params: {log_id: prop.node.id}}">
                   <q-item-side  icon="insert drive file"/>
                   <q-item-main :label="prop.node.file.pretty_name" :sublabel="prop.node.file.sublabel"/>
                   <q-item-side right :stamp="prop.node.file.name_date"/>

    The router links work this way, but it does not look that good, and you still have a seperate selection for the node.

Log in to reply