mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-12-11 10:04:53 +08:00
aa9851ee74
* Chore: upgrade webpack@4 * Chore: upgrade to webpack@4 * Chore: add babel-preset-stage-2 * Chore: fix test case * Chore: upgrade webpack@4 * Docs: update docs * Docs: update docs * Chore: fix coveralls * Chore: update yarn.lock
33 lines
1.3 KiB
Smarty
33 lines
1.3 KiB
Smarty
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
<link rel="stylesheet" href="//at.alicdn.com/t/font_137970_p1tpzmomxp9cnmi.css">
|
|
<link rel='mask-icon' href="https://raw.githubusercontent.com/ElemeFE/element/dev/examples/assets/images/element-logo-small.svg" color="#409EFF">
|
|
<title>Element</title>
|
|
</head>
|
|
<body>
|
|
<script>
|
|
if (!window.Promise) {
|
|
document.write('<script src="//cdn.jsdelivr.net/npm/es6-promise@4.1.1/dist/es6-promise.min.js"><\/script><script>ES6Promise.polyfill()<\/script>')
|
|
}
|
|
</script>
|
|
<div id="app"></div>
|
|
</body>
|
|
<% 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)
|
|
})(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');
|
|
});
|
|
</script><% } %>
|
|
</html>
|