Vue
<script setup>import { Mulling } from 'mulling/vue';defineProps(['status']);</script>
<template> <Mulling :state="status" /></template>- Props: the
mount()options, kebab-case in templates (reduced-motion,max-fps). See Options. - Attributes:
class,styleanddata-*go on the wrapper element;aria-*attributes go on the loader’s labeled element. - Template ref: gives you
update(),refresh()andelement. - Server rendering: renders a correctly sized placeholder on the server.
For the smallest bundle, use mulling/vue/core and register loaders with use(): 7.4 kB plus your loaders, not counting Vue.