We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8247953 + 264beed commit 736e792Copy full SHA for 736e792
README.md
@@ -11,7 +11,8 @@ A SwiftUI-like Webframework
11
import { PlainText, View, WebGen } from "https://deno.land/x/webgen/mod.ts";
12
13
WebGen();
14
-View(() => PlainText("Hello World!")).appendOn(document.body);
+View(() => PlainText("Hello World!"))
15
+ .appendOn(document.body);
16
```
17
18
```ts
@@ -20,17 +21,11 @@ import { serve } from "https://deno.land/x/esbuild_serve/mod.ts";
20
21
22
serve({
23
pages: {
- "index": "./mod.ts",
24
+ "index": "mod.ts",
25
},
26
});
27
28
-```html
29
-<!-- Create a templates/index.html file -->
30
-<link rel="stylesheet" href="index.css">
31
-<script src="index.js"></script>
32
-```
33
-
34
35
deno run -A serve.ts
36
0 commit comments