Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-files-preview

Package Overview
Dependencies
Maintainers
0
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-files-preview

## 0、测试默认界面

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
271
decreased by-14.24%
Maintainers
0
Weekly downloads
 
Created
Source

Vue3 Preview

0、测试默认界面

测试默认界面

1、doc、xls、ppt 预览

待定

2、docx、xlsx、pdf 预览

使用vue-office,支持word(.docx)、excel(.xlsx)、pdf等各类型office文件预览的vue组件集合,提供一站式office文件预览方案,支持vue2和3,也支持React等非Vue框架。Web-based pdf, excel, word preview library

docx预览 xlsx预览 pdf预览

3、audio、video 预览

使用原生或寻找框架

4、image 预览

使用原生或 element 中图片预览组件

jpg预览 jpeg预览 png预览

5、txt 预览

txt预览

6、code 预览

使用codemirror来适配代码预览,支持Angular, CSS, C++, Go, HTML, Java, JavaScript, JSON, Liquid, Markdown, PHP, Python, Rust, Sass, Vue, XML, YAML, C#, CMake, CoffeeScript, Dart, Elixir, GLSL, Haskell, Lua, Objective-C, R, Ruby, Scala, Shell, Swift, TeX, TypeScript, Visual Basic等代码显示

html预览 css预览 js预览 py预览 rs预览 go预览 lua预览 c预览

7、markdown 预览

先后试用了markedcommonmark.js工具库简单实现,最终采用markdown-it工具库,目前公式等可能还存在问题,后续再优化

markdown预览

8、epub 预览

使用epubjs来适配epub文件预览,二次开发配置翻页功能

epub预览

FAQs

Package last updated on 19 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc