Skip to content

Commit

Permalink
add vanilla skeleton example
Browse files Browse the repository at this point in the history
  • Loading branch information
marrionluaka committed Jun 7, 2024
1 parent d95e11f commit bd5c489
Show file tree
Hide file tree
Showing 7 changed files with 803 additions and 46 deletions.
16 changes: 16 additions & 0 deletions examples/vanilla/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>FAQ</title>
</head>
<body>
<a href="/">Back</a>
<main>
<ul id="container"></ul>
</main>
<script type="module" src="./index.js"></script>
</body>
</html>
3 changes: 3 additions & 0 deletions examples/vanilla/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { select, selectAll } from "../../dist/mjs/index.js";

console.log(select, selectAll);
22 changes: 22 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite App</title>
</head>
<body>
<ul>
<li>
<a href="/examples/vanilla/index.html">Vanilla</a>
</li>
<li>
<a href="/features/faq/index.html">Faq</a>
</li>
<li>
<a href="/features/countdown/index.html">Countdown</a>
</li>
</ul>
</body>
</html>
Loading

0 comments on commit bd5c489

Please sign in to comment.