Skip to content

Commit 2444a71

Browse files
committed
Update instructions for beta flutter web SDK.
1 parent 9cd63c0 commit 2444a71

File tree

1 file changed

+3
-30
lines changed

1 file changed

+3
-30
lines changed

readme.md

Lines changed: 3 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -6,37 +6,10 @@ More details are available on the [project page on our website](https://www.larv
66

77
### How to run the app
88

9-
Generally just follow the instructions at https://github.com/flutter/flutter_web, but the following steps are usually enough:
9+
Make sure you have installed the Flutter tooling and enabled web development, instructions are at [flutter.dev/web](https://flutter.dev/web).
1010

11-
1. Install the flutter_web build tools:
12-
```
13-
$ flutter pub global activate webdev
14-
```
11+
Then just run the app in chrome:
1512

16-
1. Update packages.
17-
18-
```console
19-
$ flutter packages upgrade
20-
! flutter_web 0.0.0 from path ../../flutter_web
21-
! flutter_web_ui 0.0.0 from path ../../flutter_web_ui
22-
Running "flutter packages upgrade" in hello_world... 5.0s
2313
```
24-
25-
If that succeeds, you're ready to run it!
26-
27-
1. Build and serve the example locally.
28-
29-
```console
30-
$ webdev serve
31-
[INFO] Generating build script completed, took 331ms
32-
...
33-
[INFO] Building new asset graph completed, took 1.4s
34-
...
35-
[INFO] Running build completed, took 27.9s
36-
...
37-
[INFO] Succeeded after 28.1s with 618 outputs (3233 actions)
38-
Serving `web` on http://localhost:8080
14+
$ flutter run -d chrome
3915
```
40-
41-
Open <http://localhost:8080> in Chrome to see the visualization.
42-

0 commit comments

Comments
 (0)