# 501351981/vue-office

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

Repository: https://github.com/501351981/vue-office
Canonical: https://ross.abutalabs.com/products/vue-office
Homepage: https://501351981.github.io/vue-office/examples/docs/
Language: JavaScript
License: MIT
License Family: permissive
Topics: docx, docx-preview, excel, pdf, pdf-preview, pdf-viewer, vue, xlsx, xlsx-preview
Last push: 2025-10-09T04:05:34+00:00

## Health v2 (maintenance only)
Score: 53/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 46, release rhythm 35, longevity 99
- inputs: {"age_days": 1394, "days_push": 328, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5696, forks 618 (observed 2026-08-28T04:09:28.019517+00:00)

## What it is
A collection of Vue components for previewing office documents (docx, xlsx/xls, pdf, pptx) in the browser, supporting Vue 2/3 and non-Vue frameworks like React. It accepts a document URL, ArrayBuffer, or Blob and renders the file with styles preserved.

## Use cases
- preview word docx files in a vue app
- render excel spreadsheets in the browser
- display pdf documents from a url or blob
- preview pptx presentations online
- show uploaded office files before submission
- preview documents fetched from an api as arraybuffer

## When to choose
- you need a one-stop office file preview solution in a Vue 2 or Vue 3 project
- you want simple integration by just passing a src (url, ArrayBuffer, or Blob)
- you need to support docx, xlsx, pdf, and pptx preview with good performance on large files
- you use React or vanilla JS and still want web-based office preview

## When to avoid
- you need to edit or convert office files, not just preview them
- you need server-side rendering of documents to images or pdf
- your project is not web-based (e.g., native mobile/desktop without a webview)
- you need legacy .doc, .ppt, or .xls binary format support

## Facets
- artifact type: library
- maturity: active
- function: pdf-viewer, ui-components, frontend-framework
- domain: web-development, frontend, pdf, files, developer-tools
- platform: browser, cross-platform
- tags: vue, office-preview, docx, xlsx, pptx, file-preview, react-support, web-server, nodejs

## Member repositories
- 501351981/vue-office (main) score 53

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:28.019517+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:53:37.754898+00:00, confidence not recorded.
  - readme: https://github.com/501351981/vue-office (fetched 2026-08-28T04:09:28.019517+00:00, sha e713dad32523)
  - homepage: https://501351981.github.io/vue-office/examples/docs/ (fetched 2026-08-29T08:49:16.437464+00:00, sha 35d9249fa665)
  - registry_npm: https://registry.npmjs.org/vue-office (fetched 2026-08-29T08:49:16.446433+00:00, sha 43ac6c439d11)
- Data as of 2026-08-30T08:39:29.467469+00:00.
