2.2.8 • Published 3 years ago
component-send-maill v2.2.8
component-send-mail
Install package with yarn
yarn add component-send-mail
Import package to project
<template>
<div class="send-mail-page">
<az-send-mail :emailsList="emails"></az-send-mail>
</div>
</template>
<script>
import { AzSendMail } from 'component-send-mail'
import { glueComponent } from 'vuex-glue'
export default {
...
components: {
AzSendMail: glueComponent(AzSendMail, 'mails'),
},
...
}
</script>
Config store
import { glueStore } from 'vuex-glue'
import { AzSendMailStore } from 'component-send-mail'
...
export default glueStore(AzSendMailStore, {
state,
getters,
mutations,
actions,
})