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.
1 parent 8241f22 commit fa8c5e3Copy full SHA for fa8c5e3
examples/2048/README.md
@@ -50,6 +50,13 @@ Compile & run the game with `./v run examples/2048`
50
```sh
51
emrun examples/2048/index.html
52
```
53
+
54
+ If you prefer, instead of `emrun`, you can start a simple V http file server:
55
+ ```sh
56
+ v -e 'import net.http.file; file.serve(folder: "examples/2048")'
57
+ ```
58
+ and then open http://127.0.0.1:4001/ in your browser.
59
-Once you have run the game, you can make changes,
-then just recompile (step 3), and refresh the game in your browser.
60
+Once you have opened the game in your browser, you can make changes to
61
+the V source, then recompile (step 3), and refresh the browser window
62
+with the game, to see their effect.
0 commit comments