From 465f4dba919bbc77d78efce6fbe6f488e754f740 Mon Sep 17 00:00:00 2001 From: Priyanka Tyagi Date: Thu, 9 May 2019 11:10:30 -0700 Subject: [PATCH] added instructions to run web sample apps (#78) Updated readme to include instructions to be able to build web sample apps locally. --- web/readme.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/web/readme.md b/web/readme.md index a8875a81b..11d5a3ff5 100644 --- a/web/readme.md +++ b/web/readme.md @@ -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.