goindex-theme-r/public/index.html

48 lines
1.7 KiB
HTML
Raw Normal View History

2020-04-23 11:46:23 +08:00
<!DOCTYPE html>
<html lang="en">
2020-04-28 02:16:41 +08:00
<head>
<meta charset="utf-8" />
<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 %>favicon.ico" />
2020-04-28 19:02:48 +08:00
<!-- 使用 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">
<% } %>
2020-04-28 02:16:41 +08:00
<title><%= htmlWebpackPlugin.options.title %></title>
<script>
var authConfig = {
roots: [
{
id: "0AEofxddwF4bAUk9PVA",
name: "TeamDrive",
pass: "",
},
{
id: "root",
name: "PriveDrive",
pass: "",
},
],
};
window.gds = JSON.parse(
JSON.stringify(authConfig.roots.map((it) => it.name))
);
// window.MODEL = { q: "the" };
</script>
</head>
2020-04-24 19:43:00 +08:00
2020-04-28 02:16:41 +08:00
<body>
<div id="app"></div>
2020-04-28 19:02:48 +08:00
<!-- 使用 CDN 加速的 JS 文件,配置在 vue.config.js 下 -->
<% for (var i in htmlWebpackPlugin.options.cdn&&htmlWebpackPlugin.options.cdn.js) { %>
<script src="<%= htmlWebpackPlugin.options.cdn.js[i] %>"></script>
<% } %>
2020-04-28 02:16:41 +08:00
</body>
</html>