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

pull/1947/head^2
cinwell.li 2016-12-26 16:06:04 +08:00 committed by FuryBean
parent 9bb51a1267
commit f9535396a7
2 changed files with 7 additions and 0 deletions

View File

@ -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>

View File

@ -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",