Skip to content

theme-provider

The style of the component injected by theme-provider, because the same component cannot access the injected configuration ([Vue's provide/inject feature](https://v3.vuejs.org/guide/composition-api-provide- inject.html#reactivity)), config-provider uses this component internally.

Basic usage

generally does not need to use theme-provider directly, use config-provider to configure.

vue
<template>
  <v-theme-provider>
    <v-button theme="primary">
      Button
    </v-button>
  </v-theme-provider>
</template>

API

theme-provider attribute

none

theme-provider slot

Slot NameDescription
defaultdefault slot

Released under the ISC License.