Load /js/builder.js, then use the <sealroute-builder> custom element.
Example Code
<!-- Load https://your.domain/js/builder.js in index.html first -->
<template>
<sealroute-builder
:data-token="token"
data-host="https://your.domain"
@save="onSave"
/>
</template>
<script>
export default {
name: 'App',
props: {
token: { type: String, required: true }
},
methods: {
onSave(e) {
console.log(e.detail)
}
}
}
</script>
JWT
Mint HS256 with the user's API key. Required claim: user_email. See JavaScript Form Builder.
Attributes / Events
Same as the JavaScript form builder.
Last modified on