Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 315 Bytes

File metadata and controls

16 lines (12 loc) · 315 Bytes

ExportSwift Example

This example demonstrates how to export Swift functions to JavaScript.

Building and Running

  1. Build the project:

    swift package --swift-sdk $SWIFT_SDK_ID js --use-cdn
  2. Serve the files:

    npx serve

Then open your browser to http://localhost:3000.