is there any way to force a component on the client in a quasar framework?

Create a boot file: quasar new boot tiptap

tiptap.js

import Vue from 'vue'
import { QuasarTiptapPlugin, RecommendedExtensions } from 'quasar-tiptap'
import "quasar-tiptap/lib/index.css";

Vue.use(QuasarTiptapPlugin, {
  language: 'en-us',
  spellcheck: true
})

reference boot file in quasar.conf.js

 boot: [
  'axios',
  {path: 'tiptap', server: false} //render only on client
 ],

use component wherever you want in your application:

 <div>
  <quasar-tiptap
   ref="transcript"
   v-bind="options"
   @update="onUpdate"
   @annotation="handleAnnotation($event)"
  />
</div>

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top