Skip to content

dragitio/editor-plugin-vue

Repository files navigation

Dragit logo


npm package node compatility unix build status windows build status discord chat


Dragit Email Editor Plugin

Professional Drag & Drop Email Builder

  • 📦 Optimized for speed

@dragit/editor-plugin-vue

This is a Vue.js wrapper for our Dragit Email Editor.

With NPM:

$ npm install @dragit/editor-plugin-vue

With Yarn:

$ yarn add @dragit/editor-plugin-vue

This package comes with one component that you can use:

<template>
    <dragit-editor-plugin
          :options="options"
          class="border"
          style="width: 100%; height: 800px; position: relative"
    />
</template>

<script>
import DragitEditorPlugin from '@dragit/editor-plugin-vue'

export default {
  components: { DragitEditorPlugin },
  computed: {
      options() {
          return {
              apiKey: 'YOUR_API_KEY',
              language: 'en', // One of ['en', 'cs'],
          }
      }
  }
}
</script>

Anytime the options property changes, the editor is going to be destroyed and initialized again.

About

Dragit Editor Plugin for Vue.js apps

Resources

Stars

Watchers

Forks

Packages

No packages published