Vuetify issue with v-menu

前端 未结 4 2112
予麋鹿
予麋鹿 2020-12-10 12:19

Vuetify 1.1.8 / Vue 2.5.16

I don\'t understand why I get 2 different behaviors :

1- testing in Codepen.io

html

    &         


        
4条回答
  •  忘掉有多难
    2020-12-10 13:13

    As far as I understand, in vuetify you need to wrap your application in . This happens in App.vue or whatever you have set in your main.js as root component. The v-app components sets this data-app attribute.

    The documentation says this about it:

    Vuetify requires the use of the v-app component. It should wrap your entire application and is the center point for much of the framework functionality including themes. Ensure that you are following the proper markup documented in the Application page.

    Source: FAQ: My application does not look correct, retrieved on 2 October 2019

提交回复
热议问题