Commit f9535396 authored by cinwell.li's avatar cinwell.li Committed by FuryBean

Add unpkg and style into package.json & Fix ga (#1989)

parent 9bb51a12
...@@ -19,5 +19,10 @@ ...@@ -19,5 +19,10 @@
ga('create', 'UA-84335471-1', 'auto'); ga('create', 'UA-84335471-1', 'auto');
ga('send', 'pageview'); ga('send', 'pageview');
window.addEventListener('hashchange', function () {
ga('set', 'page', window.location.href);
ga('send', 'pageview');
});
</script><% } %> </script><% } %>
</html> </html>
...@@ -41,6 +41,8 @@ ...@@ -41,6 +41,8 @@
"bugs": { "bugs": {
"url": "https://github.com/ElemeFE/element/issues" "url": "https://github.com/ElemeFE/element/issues"
}, },
"unpkg": "lib/index.js",
"style": "lib/theme-default/index.css",
"dependencies": { "dependencies": {
"async-validator": "^1.6.6", "async-validator": "^1.6.6",
"babel-helper-vue-jsx-merge-props": "^2.0.0", "babel-helper-vue-jsx-merge-props": "^2.0.0",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment