Skip to content

Instantly share code, notes, and snippets.

@vatson
Last active October 15, 2019 08:39
Show Gist options
  • Save vatson/ea9a7709ca903c925ae6f6d45d84b6bf to your computer and use it in GitHub Desktop.
Save vatson/ea9a7709ca903c925ae6f6d45d84b6bf to your computer and use it in GitHub Desktop.
<!-- UserForm.vue -->
<user-form>
<field-1 />
<field-2 />
<field-3 />
</user-form>
<!-- DialogUser.vue -->
<common-dialog>
<template scope="form">
<slot />
</template>
</common-dialog>
<!-- On page -->
<dialog-user>
<user-form>
</dialog-user>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment