首先引入html,并修改h5配置。
html内容为:
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<title>好故事</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<script>
document.addEventListener('DOMContentLoaded', function() {
document.documentElement.style.fontSize = document.documentElement.clientWidth / 20 + 'px'
})
</script>
<link rel="stylesheet" href="<%= BASE_URL %>static/index.css" />
<style type="text/css">
</style>
</head>
<body>
<!-- <noscript>
<strong>Please enable JavaScript to continue.</strong>
</noscript> -->
<div id="app">
</div>
<!-- built files will be auto injected -->
</body>
</html>
摘要和关键词自行添加