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.
README.md
1 parent 4504e13 commit 9968357Copy full SHA for 9968357
Examples/ExportSwift/README.md
@@ -0,0 +1,16 @@
1
+# ExportSwift Example
2
+This example demonstrates how to export Swift functions to JavaScript.
3
+
4
+## Building and Running
5
6
+1. Build the project:
7
+ ```sh
8
+ env JAVASCRIPTKIT_EXPERIMENTAL_BRIDGEJS=1 swift package --swift-sdk $SWIFT_SDK_ID js --use-cdn
9
+ ```
10
11
+2. Serve the files:
12
13
+ npx serve
14
15
16
+Then open your browser to `http://localhost:3000`.
0 commit comments