Skip to content

Instantly share code, notes, and snippets.

@juanbrujo juanbrujo/Mati.vue
Created Oct 15, 2019

Embed
What would you like to do?
How to use Mati (getmati.com) Web SDK in a VueJS project
<template>
<div>
<div v-html="MatiButton('CLIENTID')"></div>
</div>
</template>
<script>
export default {
name: 'Mati',
methods: {
MatiButton: function (clientid) {
return `<mati-button clientid="${clientid}" metadata="{email:'${email}'}" />`
}
}
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.