Vuetify: How to preselect active tab?

后端 未结 6 465
孤城傲影
孤城傲影 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 03:00

    Set the v-model inside the mounted() callback of the component hosting the v-tabs

    
      First
      Second
    
    
    
    
    
    

提交回复
热议问题