Vuetify: How to preselect active tab?

后端 未结 6 438
孤城傲影
孤城傲影 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:44

    As a workaround I made a wrapper component:

    
    
    
    

    Use it with this:

    
      Tab 1
      Tab 2
    
    

    Lots of code for a very basic task, but it works.

提交回复
热议问题