mirror of
https://github.com/analyticsjs/vue-baidu-analytics.git
synced 2025-04-06 03:58:00 +08:00
release demo, support history mode and hash mode.
This commit is contained in:
parent
8656e1a7ce
commit
22e36f3e2d
BIN
demo/hash/favicon.ico
Normal file
BIN
demo/hash/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.2 KiB |
1
demo/hash/index.html
Normal file
1
demo/hash/index.html
Normal file
@ -0,0 +1 @@
|
|||||||
|
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=favicon.ico><title>vue-baidu-analytics-demo</title><link href=static/css/home.6fd0d033.css rel=prefetch><link href=static/js/home.80371ab3.js rel=prefetch><link href=static/css/app.8a825cf3.css rel=preload as=style><link href=static/js/app.65549c41.js rel=preload as=script><link href=static/js/chunk-vendors.0d330f5a.js rel=preload as=script><link href=static/css/app.8a825cf3.css rel=stylesheet></head><body><noscript><strong>We're sorry but vue-baidu-analytics-demo doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=static/js/chunk-vendors.0d330f5a.js></script><script src=static/js/app.65549c41.js></script></body></html>
|
1
demo/hash/static/css/app.8a825cf3.css
Normal file
1
demo/hash/static/css/app.8a825cf3.css
Normal file
@ -0,0 +1 @@
|
|||||||
|
/*! The roject developed by chengpeiquan! */#app[data-v-74bbf350]{width:100%;max-width:900px;margin:0 auto}
|
1
demo/hash/static/css/home.6fd0d033.css
Normal file
1
demo/hash/static/css/home.6fd0d033.css
Normal file
@ -0,0 +1 @@
|
|||||||
|
/*! The roject developed by chengpeiquan! */.nav[data-v-0d96c593]{display:flex}.nav .item[data-v-0d96c593]{display:flex;justify-content:center;align-items:center;width:20%;height:100px;color:#333;background-color:#eee;text-decoration:none;cursor:pointer}.nav .item.cur[data-v-0d96c593],.nav .item[data-v-0d96c593]:hover{color:#fff;background-color:#999}.buttons[data-v-0d96c593]{display:flex}.buttons button[data-v-0d96c593]{font-size:16px;cursor:pointer;padding:20px;margin-right:20px}
|
1
demo/hash/static/js/app.65549c41.js
Normal file
1
demo/hash/static/js/app.65549c41.js
Normal file
File diff suppressed because one or more lines are too long
13
demo/hash/static/js/chunk-vendors.0d330f5a.js
Normal file
13
demo/hash/static/js/chunk-vendors.0d330f5a.js
Normal file
File diff suppressed because one or more lines are too long
2
demo/hash/static/js/home.80371ab3.js
Normal file
2
demo/hash/static/js/home.80371ab3.js
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
/*! The roject developed by chengpeiquan! */
|
||||||
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["home"],{5034:function(t,n,e){"use strict";var a=e("8922"),r=e.n(a);r.a},6511:function(t,n,e){"use strict";e.r(n);var a=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"main"},[e("p",[t._v("导航会自动上报数据")]),e("nav",{staticClass:"nav"},t._l(t.navList,(function(n){return e("router-link",{staticClass:"item",attrs:{to:n.url,exact:""}},[t._v(t._s(n.text))])})),1),e("p",[t._v("按钮可手动上报数据")]),e("div",{staticClass:"buttons"},[e("button",{on:{click:function(n){return t.$trackBaiduPv("/test")}}},[t._v("手动上报PV")]),e("button",{on:{click:function(n){return t.$trackBaiduEvent("act_vote","click","works",1)}}},[t._v("手动上报分析事件")])])])},r=[],u={data:function(){return{navList:[{url:"/home",text:"首页"},{url:"/home?id=123456",text:"单个query"},{url:"/home?id=123456&name=张三&age=18",text:"多个query"},{url:"/user/123456",text:"带params"},{url:"/user/123456?id=123456",text:"带params和query"}]}}},s=u,i=(e("5034"),e("2877")),c=Object(i["a"])(s,a,r,!1,null,"0d96c593",null);n["default"]=c.exports},8922:function(t,n,e){}}]);
|
BIN
demo/history/favicon.ico
Normal file
BIN
demo/history/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.2 KiB |
1
demo/history/index.html
Normal file
1
demo/history/index.html
Normal file
@ -0,0 +1 @@
|
|||||||
|
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=favicon.ico><title>vue-baidu-analytics-demo</title><link href=static/css/home.6fd0d033.css rel=prefetch><link href=static/js/home.80371ab3.js rel=prefetch><link href=static/css/app.8a825cf3.css rel=preload as=style><link href=static/js/app.74f286ce.js rel=preload as=script><link href=static/js/chunk-vendors.0d330f5a.js rel=preload as=script><link href=static/css/app.8a825cf3.css rel=stylesheet></head><body><noscript><strong>We're sorry but vue-baidu-analytics-demo doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=static/js/chunk-vendors.0d330f5a.js></script><script src=static/js/app.74f286ce.js></script></body></html>
|
1
demo/history/static/css/app.8a825cf3.css
Normal file
1
demo/history/static/css/app.8a825cf3.css
Normal file
@ -0,0 +1 @@
|
|||||||
|
/*! The roject developed by chengpeiquan! */#app[data-v-74bbf350]{width:100%;max-width:900px;margin:0 auto}
|
1
demo/history/static/css/home.6fd0d033.css
Normal file
1
demo/history/static/css/home.6fd0d033.css
Normal file
@ -0,0 +1 @@
|
|||||||
|
/*! The roject developed by chengpeiquan! */.nav[data-v-0d96c593]{display:flex}.nav .item[data-v-0d96c593]{display:flex;justify-content:center;align-items:center;width:20%;height:100px;color:#333;background-color:#eee;text-decoration:none;cursor:pointer}.nav .item.cur[data-v-0d96c593],.nav .item[data-v-0d96c593]:hover{color:#fff;background-color:#999}.buttons[data-v-0d96c593]{display:flex}.buttons button[data-v-0d96c593]{font-size:16px;cursor:pointer;padding:20px;margin-right:20px}
|
1
demo/history/static/js/app.74f286ce.js
Normal file
1
demo/history/static/js/app.74f286ce.js
Normal file
File diff suppressed because one or more lines are too long
13
demo/history/static/js/chunk-vendors.0d330f5a.js
Normal file
13
demo/history/static/js/chunk-vendors.0d330f5a.js
Normal file
File diff suppressed because one or more lines are too long
2
demo/history/static/js/home.80371ab3.js
Normal file
2
demo/history/static/js/home.80371ab3.js
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
/*! The roject developed by chengpeiquan! */
|
||||||
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["home"],{5034:function(t,n,e){"use strict";var a=e("8922"),r=e.n(a);r.a},6511:function(t,n,e){"use strict";e.r(n);var a=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"main"},[e("p",[t._v("导航会自动上报数据")]),e("nav",{staticClass:"nav"},t._l(t.navList,(function(n){return e("router-link",{staticClass:"item",attrs:{to:n.url,exact:""}},[t._v(t._s(n.text))])})),1),e("p",[t._v("按钮可手动上报数据")]),e("div",{staticClass:"buttons"},[e("button",{on:{click:function(n){return t.$trackBaiduPv("/test")}}},[t._v("手动上报PV")]),e("button",{on:{click:function(n){return t.$trackBaiduEvent("act_vote","click","works",1)}}},[t._v("手动上报分析事件")])])])},r=[],u={data:function(){return{navList:[{url:"/home",text:"首页"},{url:"/home?id=123456",text:"单个query"},{url:"/home?id=123456&name=张三&age=18",text:"多个query"},{url:"/user/123456",text:"带params"},{url:"/user/123456?id=123456",text:"带params和query"}]}}},s=u,i=(e("5034"),e("2877")),c=Object(i["a"])(s,a,r,!1,null,"0d96c593",null);n["default"]=c.exports},8922:function(t,n,e){}}]);
|
Loading…
x
Reference in New Issue
Block a user