Created
February 20, 2022 18:37
-
-
Save ErikCH/2ee713146b426d318576731497401571 to your computer and use it in GitHub Desktop.
setup-web-comp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
<title>Tester</title> | |
</head> | |
<body> | |
<h1>Does this work?</h1> | |
<my-custom-text customText="'heyyou'"></my-custom-text> | |
<!-- <special-uploader | |
custom-img="https://source.unsplash.com/random" | |
></special-uploader> --> | |
<coin-tracker pair="SOL-USD"> | |
<div slot="header"> | |
<h1>This is a header</h1> | |
</div> | |
</coin-tracker> | |
<script type="module"> | |
import { CoinTracker, register } from "./dist/index.js"; | |
register(); | |
// customElements.define("special-uploader", SpecialUploader); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment