index.html
756 Bytes
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no,viewport-fit=cover">
<link rel="icon" href="./static/img/vue-logo.png" type="image/png">
<link rel="manifest" href="manifest.json" />
<title>vue-awesome-picker</title>
</head>
<body>
<div id="app"></div>
<script>
navigator.serviceWorker && navigator.serviceWorker.register('./sw.js').then(() => {
console.log('service worker 注册成功')
}).catch((e) => {
console.log(`service worker 存在但注册失败:${e}`)
});
</script>
<script src="./dist/vue-awesome-picker.js"></script>
</body>
</html>