You can install the vue component with npm install @metagrid/vue-metagrid-widget
. Under the hood, the vue component uses the MetagridApi abstraction.
Import the vue component into your project and pass it the required props.
provider=[string]
Your provider slugidentifier=[string]
The identifier for the person you want to query.include-description=[boolean]
Should we include additional description for the provider. Default = falselanguage=[enum]
The language of the provider name or the provider description. Valid values (de, fr, en, it). Default=de<script setup lang="ts">
import MetagridWidget from "@metagrid/vue-metagrid-widget";
</script>
<template>
<MetagridWidget
provider="dodis"
identifier="5"
:include-description="true"
language="fr"
></MetagridWidget>
</template>
Need more info or found an error? Check out the Github project, open an issue, or send a pull request.