Create a tiny working TypeScript example page

This commit is contained in:
Eli Ribble 2026-03-21 01:42:22 +00:00
parent 9b6cacda0e
commit 701f4853b5
No known key found for this signature in database
3 changed files with 11 additions and 1 deletions

View file

@ -31,6 +31,7 @@
pkgs.air
pkgs.autoprefixer
pkgs.dart-sass
pkgs.esbuild
pkgs.go
pkgs.goose
pkgs.gotools

View file

@ -1,3 +1,8 @@
<html>
<h1>Hi Eli</h1>
<head>
<script src="/static/bundle.js"></script>
</head>
<body>
<h1>Hi Eli 2</h1>
</body>
</html>

4
ts/main.ts Normal file
View file

@ -0,0 +1,4 @@
// This will run when the page loads
window.addEventListener('DOMContentLoaded', () => {
console.log('Hello World');
});