2.1.11 • Published 10 months ago
@huolala-tech/page-spy-plugin-whole-bundle v2.1.11
@huolala-tech/page-spy-plugin-whole-bundle
!WARNING 此包已经更名为
@huolala-tech/page-spy-plugin-ospy,后续不会再在这个包里新增功能。

插件打包了三个依赖,一个脚本实现 离线模式的 PageSpy、录制操作轨迹、支持导出离线日志 的功能:
- @huolala-tech/page-spy-browser;
- @huolala-tech/page-spy-plugin-data-harbor;
- @huolala-tech/page-spy-plugin-rrweb;
使用
CDN 引入
- jsdelivr: https://cdn.jsdelivr.net/npm/@huolala-tech/page-spy-plugin-whole-bundle
- unpkg: https://unpkg.com/@huolala-tech/page-spy-plugin-whole-bundle
<head>
...
<!-- 以 jsdelivr 为例 -->
>
<script
src="https://cdn.jsdelivr.net/npm/@huolala-tech/page-spy-plugin-whole-bundle"
crossorigin="anonymous"
></script>
<script>
const $wholeBundle = new WholeBundle({
/**
* 悬浮球和弹窗上显示
*/
title?: string;
/**
* - 在线图片: 'https://example.com/xxx.jpg'
* - 相对路径: '../xxx.jpg'
* - Data url: 'data:image/png;base64,xxxx...'
*/
logo?: string;
/**
* 定制主题色
*/
primaryColor?: string;
/**
* 是否自动渲染悬浮球
*/
autoRender?: boolean;
})
</script>
</head>ESM 引入
- 安装
yarn add @huolala-tech/page-spy-plugin-whole-bundle
# OR
npm install @huolala-tech/page-spy-plugin-whole-bundle- 使用
import WholeBundle from '@huolala-tech/page-spy-plugin-whole-bundle';
import '@huolala-tech/page-spy-plugin-whole-bundle/dist/index.css';
const $wholeBundle = new WholeBundle({
/**
* 悬浮球和弹窗上显示的标题
*/
title?: string;
/**
* - 在线图片: 'https://example.com/xxx.jpg'
* - 相对路径: '../xxx.jpg'
* - Data url: 'data:image/png;base64,xxxx...'
*/
logo?: string;
/**
* 定制主题色
*/
primaryColor?: string;
/**
* 是否自动渲染悬浮球
*/
autoRender?: boolean;
})2.1.2
12 months ago
2.0.3
1 year ago
2.1.1
12 months ago
2.0.2
1 year ago
2.1.4
11 months ago
2.1.3
12 months ago
2.1.6
11 months ago
2.1.5
11 months ago
2.1.8
11 months ago
2.1.7
11 months ago
2.1.0
1 year ago
2.0.1
1 year ago
2.0.0
1 year ago
0.0.11
1 year ago
0.0.12
1 year ago
1.0.0-beta.2
1 year ago
2.1.9
11 months ago
1.0.0-beta.3
1 year ago
1.0.0-beta.4
1 year ago
1.0.0-beta.0
1 year ago
1.0.0-beta.1
1 year ago
2.1.10
10 months ago
2.1.11
10 months ago
0.0.10
1 year ago
0.0.9
1 year ago
0.0.8
1 year ago
0.0.7
1 year ago
0.0.6
1 year ago
0.0.5
1 year ago
0.0.4
1 year ago
0.0.3
1 year ago
0.0.2
1 year ago