From Schema to Component

How to control your component through scheme properties

Vuetify Component Attribute - Schema Property

How does schema properties correspond to the Vuetify component attributes? Props in Vuetify-Controls in kebab-case must be converted to camelCase in Schema-Definition.

  schema: { 
    name: { 
      type:'text', 
      backgroundColor:'red', 
      clearable:true 
    }  
  }

type 'text' maps to component <v-text-field>

	<v-text-field background-color="red" clearable=true></v-text-field>

another example

<v-text-field 
    label="Search" 
    hint="Books" 
    prepend-icon="search" 
    clearable 
/>
</v-text-field>

complex example

Last updated

Was this helpful?