added index.html for testing
This commit is contained in:
20
index.html
Normal file
20
index.html
Normal file
@@ -0,0 +1,20 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport"
|
||||
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>Document</title>
|
||||
<script src="dist/index.js" type="module"></script>
|
||||
</head>
|
||||
<body>
|
||||
<button class="tester">test</button>
|
||||
|
||||
<script type="module">
|
||||
import {formatRelativeDate} from "./dist";
|
||||
|
||||
console.log(formatRelativeDate(new Date().getSeconds() - 20000, new Date().getSeconds()))
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user