-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update "Build a web app with Flutter" page #11363
base: main
Are you sure you want to change the base?
Conversation
Visit the preview URL for this PR (updated for commit b81c512): https://flutter-docs-prod--pr11363-issue-11318-build-web-rj583nay.web.app |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very minor comments/feedback. But I do have a question about some text you deleted from the faq. But that's not enough to hold this up.
* Run a new project with web support. | ||
* Build an app with web support. | ||
* Add web support to an existing project. | ||
This page provides an overview of how to configure, run and build a web |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't make me lecture you on the Oxford comma!
This page provides an overview of how to configure, run and build a web | |
This page provides an overview of how to configure, run, and build a web |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was an honest mistake I swear!
``` | ||
|
||
In your IDE, you should see **Chrome (web)** in the device pulldown. | ||
This will create a `web/` directory containing the web assets used to bootstrap |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will create a `web/` directory containing the web assets used to bootstrap | |
This creates a `web/` directory containing the web assets used to bootstrap |
|
||
#### Command line | ||
You can also use the `edge` device type on Windows, or use `web-server` to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can also use the `edge` device type on Windows, or use `web-server` to | |
If you prefer, you can use the `edge` device type on Windows, or use `web-server` to |
Trying to avoid "You can also" in two consecutive lines of text.
@@ -112,25 +112,6 @@ See [Embedding Flutter web][]. | |||
|
|||
See [Web content in Flutter][]. | |||
|
|||
### How do I debug a web app? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this advice just wrong now?
This updates the "Build a web app with Flutter" page by simplifying the steps, adding Wasm information, removing references to the out-of-date
--enable-web flag
, and moving some relevant info on debugging and testing from the FAQ.cc: @kevmoo
Resolves #11318