mirror of
https://github.com/flutter/samples.git
synced 2025-11-10 14:58:34 +00:00
added instructions to run web sample apps (#78)
Updated readme to include instructions to be able to build web sample apps locally.
This commit is contained in:
committed by
Kevin Moore
parent
236eed92a2
commit
465f4dba91
@@ -1 +1,14 @@
|
||||
Samples for [Flutter for web](https://flutter.dev/web).
|
||||
|
||||
#### Building Samples code
|
||||
Set up `webdev` for first time as below:
|
||||
```
|
||||
$ pub global activate webdev
|
||||
$ pub get
|
||||
```
|
||||
|
||||
Build and run code locally at `http://localhost:8080`
|
||||
```
|
||||
$ webdev serve
|
||||
```
|
||||
Checkout [this link](https://dart.dev/tools/webdev#using-webdev-and-build_runner-commands) for more details about building, serving and testing code.
|
||||
|
||||
Reference in New Issue
Block a user