https://forum.enhancer.io/topic/5adea0cdce69735af635fcd8
method 1.
Custom window with a custom window put an iframe
Assuming that address your word is doc_url, so the iframe src is set to http://view.officeapps.live.com/op/view.aspx?src=doc_url
Open this link to see the effect
Method 2.
Reference https://www.cnblogs.com/TNSSTAR/p/3903259.html own deploy Office web apps Server
Method 3.
By converting the two modules following word and excel at the server into html
https://www.npmjs.com/package/mammoth
https://www.npmjs.com/package/xlsx
This method can be Excel files directly onto the page display.