@file-viewer/web 2.1.26 → 2.1.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.en.md
CHANGED
|
@@ -52,7 +52,7 @@ Stable parts include `host`, `shell`, `toolbar`, `toolbar-group`, `toolbar-statu
|
|
|
52
52
|
Use the asset copy command when you need to self-host workers, WASM files, and static examples:
|
|
53
53
|
|
|
54
54
|
```bash
|
|
55
|
-
npx file-viewer-copy-assets ./public/file-viewer
|
|
55
|
+
npx --yes file-viewer-copy-assets ./public/file-viewer
|
|
56
56
|
```
|
|
57
57
|
|
|
58
58
|
No-build or legacy admin pages can copy `dist/flyfish-file-viewer-web.iife.js` and load it through a plain script tag:
|
package/README.md
CHANGED
|
@@ -52,7 +52,7 @@ flyfish-file-viewer::part(toolbar) {
|
|
|
52
52
|
如需自托管 Worker、WASM 和静态示例资源,可以使用资源复制命令:
|
|
53
53
|
|
|
54
54
|
```bash
|
|
55
|
-
npx file-viewer-copy-assets ./public/file-viewer
|
|
55
|
+
npx --yes file-viewer-copy-assets ./public/file-viewer
|
|
56
56
|
```
|
|
57
57
|
|
|
58
58
|
无构建工具或传统后台页面可以复制 `dist/flyfish-file-viewer-web.iife.js` 并直接用普通 `<script>` 引入:
|