Vuetify: How to preselect active tab?

后端 未结 6 478
孤城傲影
孤城傲影 2021-01-02 02:02

I want to use Vuetify (v1.0.18) to render some static navigation using v-tabs. The routing is done on the server side, so I need a way to set the active tab

6条回答
  •  佛祖请我去吃肉
    2021-01-02 02:33

    Use v-model:

    
    

    There is no info about it (on 05/17/2018) in current version docs but 0.17 (https://vuetifyjs.com/releases/0.17/#/components/tabs) have that:

    v-model String - Current selected tab

提交回复
热议问题