mirror of
https://github.com/nvms/esr.git
synced 2025-12-15 14:30:53 +00:00
ok
This commit is contained in:
parent
1cb6dad511
commit
7dc00f2803
@ -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
|
||||
|
||||
|
||||
@ -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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user