2023-02-26 01:30
This commit is contained in:
22
lit-element-starter-ts/dev/index.html
Normal file
22
lit-element-starter-ts/dev/index.html
Normal file
@@ -0,0 +1,22 @@
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title><my-element> Demo</title>
|
||||
<script src="../node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script>
|
||||
<script src="../node_modules/lit/polyfill-support.js"></script>
|
||||
<script type="module" src="../my-element.js"></script>
|
||||
<style>
|
||||
p {
|
||||
border: solid 1px blue;
|
||||
padding: 8px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<my-element>
|
||||
<p>This is child content</p>
|
||||
</my-element>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user