Answer the question
In order to leave comments, you need to log in
What are the possibilities to open MS Word or OpenOffice document in a browser (Vue.js) for viewing?
It is required to display a document in the MS Word or OpenOffice browser for the user to view only.
Editing is not required, but if it is, then even better.
What libraries or components exist for Vue.js for example to do this? Paid or free - I will consider all options.
Thank you.
Answer the question
In order to leave comments, you need to log in
https://github.com/zVolodymyr/docxjs
https://github.com/lalalic/docx2html#readme
https://github.com/mwilliamson/mammoth.js
But the display will be so-so.
It is better to use a pdf converter on the server side (for example, via libreoffice) and display via iframe if the browser supports or https://mozilla.github.io/pdf.js/web/viewer.html
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question