Skip to content

Commit 998d1db

Browse files
sfshaza2parlough
andauthored
Web dev config: clean up and add to sidenav (#12583)
Fixes #12582 --------- Co-authored-by: Parker Lougheed <[email protected]>
1 parent 6ee85c6 commit 998d1db

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

src/content/platform-integration/web/web-dev-config-file.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,19 @@ description: >-
55
Centralize web development settings including a development proxy
66
---
77

8-
# Set up a web development configuration file
9-
**By Sydney Bao**
10-
118
Flutter web includes a development server that defaults to
129
serving your application in the `localhost` domain using HTTP
1310
on a randomly assigned port. While command-line arguments offer
1411
a quick way to modify the server's behavior,
1512
this document focuses on a more structured approach:
1613
defining your server's behavior through a centralized `web_dev_config.yaml` file.
1714
This configuration file allows you to
18-
customize server settings&emdash;host, port, HTTPS settings, and
19-
proxy rules&emdash;ensuring a consistent development environment.
15+
customize server settings—host, port, HTTPS settings, and
16+
proxy rules—ensuring a consistent development environment.
17+
18+
:::version-note
19+
Support for the `web_dev_config.yaml` file was added in Flutter 3.38.
20+
:::
2021

2122
## Create a configuration file
2223

src/data/sidenav.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -611,6 +611,8 @@
611611
permalink: /platform-integration/web
612612
- title: Set up web development
613613
permalink: /platform-integration/web/setup
614+
- title: Set up a configuration file
615+
permalink: /platform-integration/web/web-dev-config-file
614616
- title: Build a web app
615617
permalink: /platform-integration/web/building
616618
- title: Compile to WebAssembly

0 commit comments

Comments
 (0)