Skip to content
This repository was archived by the owner on Jun 23, 2023. It is now read-only.

Commit 9f7ae37

Browse files
author
chengpeiquan
committed
Release v1.1.0
1 parent 5eb42e6 commit 9f7ae37

8 files changed

Lines changed: 151 additions & 22 deletions

.gitignore

Lines changed: 0 additions & 22 deletions
This file was deleted.

dist/main.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export default function install(Vue: Vue, { router, siteIdList, isDebug }: Partial<Options>): boolean;

dist/modules/baidu.d.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
declare class BAIDU {
2+
siteId: string;
3+
isDebug: boolean;
4+
constructor(siteId?: string, isDebug?: boolean);
5+
init(): void;
6+
setAccount(): void;
7+
trackPageview(pageUrl: string): void;
8+
trackEvent(category: string, action: string, label: string, value: number): boolean;
9+
}
10+
export default BAIDU;

dist/modules/pushBAIDU.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
declare class PushBAIDU {
2+
siteIdList: string[];
3+
isDebug: boolean;
4+
constructor(siteIdList: string[], isDebug: boolean);
5+
init(): void;
6+
pv(pageUrl: string): void;
7+
event(category: string, action: string, label: string, value: number): void;
8+
}
9+
export default PushBAIDU;

dist/vue-baidu-analytics.js

Lines changed: 122 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/vue-baidu-analytics.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/vue-baidu-analytics.min.js

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)