File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed
Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -18,14 +18,18 @@ into a project structure that can be used as a starting guide for more complex W
1818└── v.mod
1919```
2020
21+ ## Run
22+
2123From the examples directory
2224
2325``` sh
26+ # ~/<path>/webview/examples/project-structure
2427v run .
2528```
2629
2730Or from webview src directory
2831
2932``` sh
33+ # ~/<path>/webview
3034v run examples/project-structure/
3135```
Original file line number Diff line number Diff line change 11# V-JS-Interop Example
22
3- An example with the basic code architecture of an application.
4- It shows how to call V from JS and vice versa.
3+ A simple example demonstrating interaction between JS and V.
4+ It uses a single-file structure where the ` index.html ` file contains the UI code, which is connected
5+ to the ` main.v ` V application.
6+
7+ Refer to the sibling example, ` project-structure ` , which organizes this example into a project
8+ structure that can serve as a starting guide for more complex Webview projects.
59
610## Run
711
8- From the examples directory
12+ From this examples directory
913
1014``` sh
15+ # ~/<path>webview/examples/v-js-interop-app
1116v run .
1217```
1318
1419Or from webview src directory
1520
1621``` sh
22+ # ~/<path>/webview
1723v run examples/v-js-interop/
1824```
You can’t perform that action at this time.
0 commit comments