Documentation
Quickstart
Install the module and render a working share group in minutes.
Install
Add the module with the Nuxt CLI. The command updates your Nuxt configuration.
pnpm dlx nuxi@latest module add nuxt-sharekitRender a group
Pass one payload to every provider. Relative URLs can be resolved from the current page when using the composable.
<script setup lang="ts">
const payload_share = {
url: 'https://example.com/launch',
title: 'Launch notes',
text: 'A calmer sharing toolkit'
}
</script>
<template>
<ShareGroup :payload="payload_share" />
</template>