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> <body>
<div id="app"></div> <div id="app"></div>
</body> </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(){ (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), (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) 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('create', 'UA-84335471-1', 'auto');
ga('send', 'pageview'); ga('send', 'pageview');
</script> </script><% } %>
</html> </html>

View File

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