iliyaZelenko / tiptap-vuetify

Vuetify editor. Component simplifies integration tiptap editor with vuetify.
https://iliyazelenko.github.io/tiptap-vuetify-demo/
802 stars 126 forks source link

how can I decrease tiptap-vuetify build size #222

Open yaki6 opened 4 years ago

yaki6 commented 4 years ago

image I am using tiptap-vuetify in my SPA. The editor is only needed in certain pages. After the build, I found the chunk-vendors is huge so that vue cli is reminding me entry point size limitation.

I have two questions:

  1. I am now importing tiptap-vuetify in main.js. Is there a way that I can import tiptap-vuetify upon need so that I don't have to load it on my homepage?
  2. Is tiptap-vuetify resuing the components from vuetify, tiptap, and tiptap-extensions during the build? They showed up in the final buildup but I have not imported both tiptap and tiptap-extension in my package.json so I think tiptap-vuetify is relying on them as dependencies. Is there a way to optimize the build size?

Thanks.

BobTheShoplifter commented 2 years ago

Having the same issue, anyone gotten a fix?