<div id="app">
  <div>
    <div class="qeditor"></div>
    <div v-html="text"></div>
  </div>
  
</div>
new Vue({
  el: '#app',
  data:{
    editor:null,
    text: ''
  },
  mounted(){
    this.editor = new Quill(
      this.$el.querySelector('.qeditor'), 
      {theme: 'snow'}
    )
    
    // set the content
    let initcontent = { ops: [{ insert: '' }, { attributes: { header: 1 }, insert: '\n' }] }
    this.editor.setContents(initcontent)
    
    // update back the content from editor
    this.editor.on('text-change', (delta, oldDelta, source) => {
      
      // if you want to store the Quill source
      let quillsrc = this.editor.getContents()
      
      // if you want to render the HTML
      this.text = this.editor.root.innerHTML
    })
  }
})

External CSS

  1. https://cdn.quilljs.com/1.3.6/quill.snow.css

External JavaScript

  1. https://cdnjs.cloudflare.com/ajax/libs/vue/2.6.11/vue.min.js
  2. https://cdnjs.cloudflare.com/ajax/libs/quill/1.3.7/quill.min.js