Vuetify: support :to router on v-btn and v-toolbar-item

Created on 16 Feb 2017  路  3Comments  路  Source: vuetifyjs/vuetify

Hi,

I would like to use :to with an object like used for vue routing. But currently the :hrefdoes not support objects even if set to :router="true"

                    <v-toolbar-item :href="{name:'types-clients-id-base', params:{id:model.id}}" router>

I think it would be nice to have the :to binding for v-btn and items, what do you think?

enhancement

Most helpful comment

Maybe append also nuxt-linkas well.. NUXT will add some nice pre-fetching features and I think it would be great to support it in-built.
https://nuxtjs.org/api/components-nuxt-link

All 3 comments

I agree, this makes sense and should apply to all components that implement router-link.

Maybe append also nuxt-linkas well.. NUXT will add some nice pre-fetching features and I think it would be great to support it in-built.
https://nuxtjs.org/api/components-nuxt-link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. Please direct any non-bug questions to our Discord

Was this page helpful?
0 / 5 - 0 ratings