# ofd-view **Repository Path**: zhangmrit/ofd-view ## Basic Information - **Project Name**: ofd-view - **Description**: vue2编写ofd文件预览组件,由ofd.js修改而来 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 7 - **Created**: 2025-08-08 - **Last Updated**: 2025-08-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ofd-view ## Project setup ``` npm install ``` ### Compiles and hot-reloads for development ``` npm run serve ``` ### Compiles and minifies for production ``` npm run build ``` ### Lints and fixes files ``` npm run lint ``` ### 使用ofd.js时,需要引入以下依赖:(尽量不要修改版本,可能会导致出现一些奇奇怪怪的问题) ``` "@lapo/asn1js": "^1.2.1", "jszip": "^3.7.0", "jszip-utils": "^0.1.0", "ofd-xml-parser": "^0.0.2", "js-md5": "^0.7.3", "js-sha1": "^0.6.0", "jsrsasign": "^10.3.0", "sm-crypto": "^0.3.2", "web-streams-polyfill": "^3.1.0", "element-resize-detector": "^1.2.4", "x2js": "^3.4.0" ```