This commit is contained in:
nvms 2024-10-09 18:03:30 -04:00
parent 1cb6dad511
commit 7dc00f2803
2 changed files with 4 additions and 1 deletions

View File

@ -18,11 +18,13 @@ For the minimalist. For the developer who misses the old web. For the developer
## Quickstart
```bash
# In an empty directory
$ esr --init
$ esr --serve src/index.ts
esr :: Serving on http://localhost:1234
```
`src/index.ts` is bundled with esbuild and included in the HTML page served at the URL above.
`src/index.ts` is bundled and included in the HTML page served at the address above.
## Example configuration

View File

@ -10,6 +10,7 @@ var indexHtml = `<!DOCTYPE html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="color-scheme" content="light dark">
<title>Application</title>
{{ css }}
</head>