Skip to content

Commit

Permalink
Add unpkg and style into package.json & Fix ga (#1989)
Browse files Browse the repository at this point in the history
  • Loading branch information
QingWei-Li authored and furybean committed Dec 26, 2016
1 parent 9bb51a1 commit f953539
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/index.tpl
Expand Up @@ -19,5 +19,10 @@

ga('create', 'UA-84335471-1', 'auto');
ga('send', 'pageview');

window.addEventListener('hashchange', function () {
ga('set', 'page', window.location.href);
ga('send', 'pageview');
});
</script><% } %>
</html>
2 changes: 2 additions & 0 deletions package.json
Expand Up @@ -41,6 +41,8 @@
"bugs": {
"url": "https://github.com/ElemeFE/element/issues"
},
"unpkg": "lib/index.js",
"style": "lib/theme-default/index.css",
"dependencies": {
"async-validator": "^1.6.6",
"babel-helper-vue-jsx-merge-props": "^2.0.0",
Expand Down

0 comments on commit f953539

Please sign in to comment.