Skip to content

Tour Margin

You can set the margin of the tour by using the margin prop in the VTour component.

vue
<script setup lang='ts'>
  // ...
  const steps = [...];
</script>

<template>
  <VTour :steps="steps" autoStart hideArrow/>
  <VTour :steps="steps" autoStart :margin="0"/>
  ...
</template>

Target

INFO

The default value of the margin prop is 8. If the highlight prop is set, 14 is used as the default value.

Released under the MIT License.