fix template file

pull/93/head
qingwei.li 2016-09-20 18:51:35 +08:00
parent 464efde787
commit a3738f0e44
2 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@
<body>
<div id="app"></div>
</body>
<script>
<% if (process.env.NODE_ENV === 'production') { %><script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
@ -16,5 +16,5 @@
ga('create', 'UA-84335471-1', 'auto');
ga('send', 'pageview');
</script>
</script><% } %>
</html>

View File

@ -17,7 +17,7 @@ cooking.set({
vendor: ['vue', 'vue-router']
},
dist: './examples/element-ui/',
template: './examples/index.template.html',
template: './examples/index.tpl',
publicPath: '/element-ui/',
hash: true,
devServer: {