vSlotStyle
Control Vue v-slot directive style.
Possible options:
null: Style ofv-slotdirective won't be changed."short": Use short-hand form like#defaultor#named."long": Use long-hand form likev-slot:defaultorv-slot:named."vSlot": For default slot, usev-slot(shorter than#default); otherwise, use short-hand form.
Default option is null.
This global option can be overridden by the following options:
component.vSlotStyle: Controlv-slotstyle at components.default.vSlotStyle: Controlv-slotstyle of default slot at<template>tag.named.vSlotStyle: Controlv-slotstyle of named slot at<template>tag.
Example for null
Input:
<template v-slot:default></template>
<template v-slot:header></template>
<template #default></template>
<template #header></template>
Output:
<template v-slot:default></template>
<template v-slot:header></template>
<template #default></template>
<template #header></template>
Example for "short"
Input:
<template v-slot:default></template>
<template v-slot:header></template>
<template #default></template>
<template #header></template>
Output:
<template #default></template>
<template #header></template>
<template #default></template>
<template #header></template>
Example for "long"
Input:
<template v-slot:default></template>
<template v-slot:header></template>
<template #default></template>
<template #header></template>
Output:
<template v-slot:default></template>
<template v-slot:header></template>
<template v-slot:default></template>
<template v-slot:header></template>
Example for "vSlot"
Input:
<template v-slot:default></template>
<template v-slot:header></template>
<template #default></template>
<template #header></template>
Output:
<template v-slot></template>
<template #header></template>
<template v-slot></template>
<template #header></template>