-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathwasted.html
31 lines (26 loc) · 977 Bytes
/
wasted.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<script src="/node_modules/@webcomponents/webcomponentsjs/webcomponents-bundle.js"></script>
<!-- <link rel="import" href="/web-components/components/my-dialog/index.html">-->
</head>
<body>
test
<!-- <my-dialog></my-dialog>-->
<script type="module">
import { blogPost } from './components/my-dialog/index.html';
document.body.appendChild(blogPost);
// let importDoc = document.querySelector('link[rel=import]');
// console.log(importDoc.import);
// let myDialog = importDoc.querySelector('#my-dialog');
// document.body.appendChild(myDialog);
</script>
<!-- <script type="module" src="/web-components/components/my-dialog/index.html"></script>-->
</body>
<!--<script type="module">-->
<!-- import Dialog from './components/dialog/index.html';-->
<!-- console.log(Dialog);-->
<!--</script>-->
</html>