- 业务源码统一迁入 src/,H5 模板移到 public/index.html - 新增 @vue/cli 4.5 + @dcloudio 2.0.2-5020620260917001 全套依赖与 scripts - 保留 vue.config.js 的 ROUTES 注入(uni-simple-router 运行时依赖) - 新增 scripts/node-compat.cjs 兼容 Node 23+ 移除的 util.isRegExp 等 API - README 补充构建/运行/回退说明
41 lines
1.3 KiB
HTML
41 lines
1.3 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta http-equiv="Permissions-Policy" content="unload=(self)">
|
|
<link rel="shortcut icon" type="image/x-icon" href="https://cdn.uviewui.com/uview/common/favicon.webp">
|
|
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
<title>
|
|
<%= htmlWebpackPlugin.options.title %>
|
|
</title>
|
|
<!-- 正式发布的时候使用,开发期间不启用。↓ -->
|
|
<script src="/static/common/js/touch-emulator.js"></script>
|
|
<script>
|
|
TouchEmulator();
|
|
</script>
|
|
<style>
|
|
::-webkit-scrollbar{
|
|
display: none;
|
|
}
|
|
</style>
|
|
<!-- 正式发布的时候使用,开发期间不启用。↑ -->
|
|
<script>
|
|
document.addEventListener('DOMContentLoaded', function() {
|
|
document.documentElement.style.fontSize = document.documentElement.clientWidth / 20 + 'px'
|
|
})
|
|
</script>
|
|
<link rel="stylesheet" href="<%= BASE_URL %>static/index.css" />
|
|
</head>
|
|
<body>
|
|
<noscript>
|
|
<strong>本站点必须要开启JavaScript才能运行</strong>
|
|
</noscript>
|
|
<div id="app"></div>
|
|
<!-- built files will be auto injected -->
|
|
<script>
|
|
/*BAIDU_STAT*/
|
|
</script>
|
|
</body>
|
|
</html>
|