define Options < RawBindings , D , C , M , Mixin , Extends > ( options ? ) : void Parameters Optional
options : ComponentOptionsBase < {} | {} , RawBindings , D , C , M , Mixin , Extends , EmitsOptions , string , {} , {} , string , {} > & { props ?: undefined ; } & ThisType < CreateComponentPublicInstance < {} | {} , RawBindings , D , C , M , Mixin , Extends , EmitsOptions , {} | {} , {} , false , {} , {} , IntersectionMixin < Mixin > & IntersectionMixin < Extends > , UnwrapMixinsType < IntersectionMixin < Mixin > & IntersectionMixin < Extends > , "P" > & ( {} | {} ) , UnwrapMixinsType < IntersectionMixin < Mixin > & IntersectionMixin < Extends > , "B" > & EnsureNonVoid < RawBindings > , UnwrapMixinsType < IntersectionMixin < Mixin > & IntersectionMixin < Extends > , "D" > & EnsureNonVoid < D > , UnwrapMixinsType < IntersectionMixin < Mixin > & IntersectionMixin < Extends > , "C" > & EnsureNonVoid < C > , UnwrapMixinsType < IntersectionMixin < Mixin > & IntersectionMixin < Extends > , "M" > & EnsureNonVoid < M > , UnwrapMixinsType < IntersectionMixin < Mixin > & IntersectionMixin < Extends > , "Defaults" > & {} > > & { emits ?: undefined ; expose ?: undefined ; slots ?: undefined ; } Returns void Defined in node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1288
Vue
<script setup>
compiler macro for declaring a component's additional options. This should be used only for options that cannot be expressed via Composition API - e.g.inheritAttrs
.