vue-craft-builder
v1.0.29
Published
Editor template emails para Vue
Downloads
58
Readme
Example:
<template>
<div class="container">
<div class="row d-flex justify-content-end">
<div class="col-10">
<a href @click.prevent="exportar" >export</a>
<vue-craft-builder ref="editorEmail" />
</div>
</div>
</div>
</template>
<script>
import VueCraftBuilder from '@/vue-craft-builder.vue';
import 'bootstrap/dist/css/bootstrap.min.css';
export default {
components: {
VueCraftBuilder,
},
methods: {
uploadImage(file) {
},
exportar(){
const data = this.$refs.editorEmail.export()
console.log(data)
}
},
}
</script>
<style lang="scss" >
body{
background-color: #666666;
}
</style>