How to preview all type of file in vue js?

I want to preview all type of files in my vue application.There is no any online server dependency please help me how I can do that.

1 Reply 1 reply marked as answer

HC Harini Chellappa Syncfusion Team October 8, 2020 02:40 PM UTC

Hi Akesh, 

Please find the details for your query from below table. 

Document Editor 
Document editor component provides support to view the word documents. 
Supported file formats .doc,.docx,.rtf,.txt,.htm,html,.sfdt 
 
Kindly refer the below documentation on overview of document editor. 
 


 
Kindly refer the below documentation on webservices  
 



Once above service project is launched, you can set the launched url to serviceUrl of document editor. 
 
Please refer the below documentation on service url. 
 

containerInstance.serviceUrl = “”//set the hosted url. 
 
PDF Viewer 
For PDF files, you can use our EJ2 PDF Viewer. 



Refer to the below link to create web service project,  


Spreadsheet 
To view the excel files you can use EJ2 Spreadsheet control. We have provided the Import/Export functionality to view and save the excel file in spreadsheet. For more details, please refer the below links.  
  
Demos link: 

  
Documentation Link: 

  
Could you please check the above links and get back to us, if you need any further assistance on this.  

 

Regards, 

Harini C 


Marked as answer
Loader.
Up arrow icon