cdn.d2.pub

Former-commit-id: 193d0065708972115cda5bc806726333be7ff29d
Former-commit-id: 24a3d468c4806d91cb16f9dab1d1e89c6ab12743
Former-commit-id: afdc97ef5940962e606ae8cd801ea55243e4e244
Former-commit-id: 80ecedc425c29ff1ec2ccef748c62480247962e5 [formerly 4535e656398e51f123d1f2812e494dc356544bf7]
Former-commit-id: eeedb77dd41026d8b137ff56690e2f227ddf1ffc
Former-commit-id: feaf45f09cd6515b60e719a29df4fe742c07c223
Former-commit-id: b49cc16459f9c600a28dd3e125dc14f1b01acc7f
Former-commit-id: a20f81c298051d894cf1c0255b9bc4634a1213d3
Former-commit-id: 8cdb5220b14276cd69cc7a07f97173b9aafd300e
This commit is contained in:
FairyEver
2019-12-13 10:34:20 +08:00
parent e1a2ee5d41
commit 9712ec1bd5
2 changed files with 70 additions and 11 deletions

View File

@@ -5,6 +5,15 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>icon.ico">
<!-- 使用 CDN 加速的 CSS 文件,配置在 vue.config.js 下 -->
<% for (var i in htmlWebpackPlugin.options.cdn&&htmlWebpackPlugin.options.cdn.css) { %>
<link href="<%= htmlWebpackPlugin.options.cdn.css[i] %>" rel="preload" as="style">
<link href="<%= htmlWebpackPlugin.options.cdn.css[i] %>" rel="stylesheet">
<% } %>
<!-- 使用 CDN 加速的 JS 文件,配置在 vue.config.js 下 -->
<% for (var i in htmlWebpackPlugin.options.cdn&&htmlWebpackPlugin.options.cdn.js) { %>
<link href="<%= htmlWebpackPlugin.options.cdn.js[i] %>" rel="preload" as="script">
<% } %>
<title><%= VUE_APP_TITLE %></title>
<style>
html, body, #app { height: 100%; margin: 0px; padding: 0px; width: 100%; }
@@ -43,5 +52,9 @@
</div>
</div>
</div>
<!-- 使用 CDN 加速的 JS 文件,配置在 vue.config.js 下 -->
<% for (var i in htmlWebpackPlugin.options.cdn&&htmlWebpackPlugin.options.cdn.js) { %>
<script src="<%= htmlWebpackPlugin.options.cdn.js[i] %>"></script>
<% } %>
</body>
</html>