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

Commit a3044c8

Browse files
authored
Merge pull request #2 from chengpeiquan/develop
Release v1.1.0
2 parents 12cde0f + 9f7ae37 commit a3044c8

File tree

8 files changed

+151
-22
lines changed

8 files changed

+151
-22
lines changed

.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)