Commit 3a8a4fe 1 parent 9b26111 commit 3a8a4fe Copy full SHA for 3a8a4fe
File tree 1 file changed +2
-6
lines changed
1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -67,11 +67,7 @@ by following the temporary steps outlined here:
67
67
which is necessary to run Wasm.
68
68
Make sure your web apps are [ migrated] [ ] from ` dart:html ` to ` package:web ` .
69
69
70
- 1 . Compile with Wasm: ` mywebapp$ dart compile wasm web/main.dart `
71
-
72
- 1 . Create a new directory for the built web app: ` mkdir site `
73
-
74
- 1 . Copy over Dart code: ` cp web/main.* site/ `
70
+ 1 . Compile with Wasm to a new ` site ` output directory: ` mywebapp$ dart compile wasm web/main.dart -o site/main.wasm `
75
71
76
72
1 . Copy over the web files: ` cp web/index.html web/styles.css site/ `
77
73
@@ -89,4 +85,4 @@ You can also try out this small example [here](https://github.com/mit-mit/sandbo
89
85
[ `package:web` ] : {{site.pub-pkg}}/web
90
86
[ ` dart:js_interop ` ] : {{site.dart.api}}/{{site.dart.sdk.channel}}/dart-js_interop
91
87
[ migrated ] : /interop/js-interop/package-web/
92
- [ dhttpd ] : {{site.pub-pkg}}/dhttpd
88
+ [ dhttpd ] : {{site.pub-pkg}}/dhttpd
You can’t perform that action at this time.
0 commit comments