Skip to content

useBoosterFont

Options

PropertyTypeDescriptionDefault Value
criticalBooleanOverride critical from component.inherit from component
js
const { $getFont } = useBoosterFonts({critical: true});

Return

PropertyDescription
isCritical
$getFont

Example

html
<template>
  <span v-font="$getFont(…)"></span>
</template>

<script setup>
  const { $getFont } = useBoosterFonts();
</script>