Skip to content

Commit 4263c1c

Browse files
committed
update readme
1 parent 9135044 commit 4263c1c

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

README.md

+4-6
Original file line numberDiff line numberDiff line change
@@ -178,12 +178,14 @@ Not all of these versions are tested on regular basis though, compatibility repo
178178

179179
## Usage in a browser application
180180

181-
The easiest way to get started with JavaScriptKit in your browser app is with [the `carton`
181+
The easiest is to start with [Examples](/Examples) which has JavaScript glue runtime.
182+
183+
Second option is to get started with JavaScriptKit in your browser app is with [the `carton`
182184
bundler](https://carton.dev). Add carton to your swift package dependencies:
183185

184186
```diff
185187
dependencies: [
186-
+ .package(url: "https://github.com/swiftwasm/carton", from: "1.0.0"),
188+
+ .package(url: "https://github.com/swiftwasm/carton", from: "1.1.3"),
187189
],
188190
```
189191

@@ -253,10 +255,6 @@ within it. You'll see `Hello, world!` output in the console. You can edit the ap
253255
your favorite editor and save it, `carton` will immediately rebuild the app and reload all
254256
browser tabs that have the app open.
255257

256-
You can also build your project with webpack.js and a manually installed SwiftWasm toolchain. Please
257-
see the following sections and the [Example](https://github.com/swiftwasm/JavaScriptKit/tree/main/Example)
258-
directory for more information in this more advanced use case.
259-
260258
## Sponsoring
261259

262260
[Become a gold or platinum sponsor](https://github.com/sponsors/swiftwasm/) and contact maintainers to add your logo on our README on Github with a link to your site.

0 commit comments

Comments
 (0)