element/examples/index.tpl

30 lines
1.3 KiB
Smarty
Raw Normal View History

2016-07-27 14:15:02 +08:00
<!DOCTYPE html>
2016-07-27 17:05:28 +08:00
<html lang="en">
2016-07-27 14:15:02 +08:00
<head>
<meta charset="utf-8">
2016-11-18 16:49:07 +08:00
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
2016-09-13 20:02:33 +08:00
<link rel="stylesheet" href="//at.alicdn.com/t/font_1473762766_7074292.css">
<link rel='mask-icon' href="//fuss10.elemecdn.com/9/92/3a6e19a64a8ed173a4677ec0e412bsvg.svg" color="#20a0ff">
2016-09-07 12:17:16 +08:00
<title>Element</title>
2016-07-27 14:15:02 +08:00
</head>
<body>
2016-09-21 14:38:07 +08:00
<div id="app"></div><% if (process.env.NODE_ENV === 'production') { %>
<script src="//cdnjs.cloudflare.com/ajax/libs/vue/2.1.6/vue.runtime.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/vue-router/2.1.1/vue-router.min.js"></script><% } %>
2016-07-27 14:15:02 +08:00
</body>
2016-09-20 18:51:35 +08:00
<% if (process.env.NODE_ENV === 'production') { %><script>
2016-09-19 17:07:33 +08:00
(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)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-84335471-1', 'auto');
ga('send', 'pageview');
window.addEventListener('hashchange', function () {
ga('set', 'page', window.location.href);
ga('send', 'pageview');
});
2016-09-20 18:51:35 +08:00
</script><% } %>
2016-07-27 14:15:02 +08:00
</html>