Updated readme for web (#754)

pull/760/head
Tushar Ojha 4 years ago committed by GitHub
parent 59b50ec010
commit 51ebc7e0bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -10,27 +10,16 @@ https://flutter.github.io/samples/#?platform=web.
## Building samples code
Update Flutter and enable web support
```console
$ flutter channel dev
$ flutter upgrade
$ flutter config --enable-web
```
Run the demo using the `chrome` device type:
```console
$ cd slide_puzzle
$ cd charts
$ flutter packages get
$ flutter run -d chrome
```
You should see a message printing the URL to access: `http://localhost:8080`
Web support is available as a technical preview and is only available in the
`dev` or `master` channels.
## Deploying to GitHub Pages
This project uses [peanut][peanut] to build the samples and commit the output

Loading…
Cancel
Save