diff --git a/src/content/platform-integration/web/web-dev-config-file.md b/src/content/platform-integration/web/web-dev-config-file.md index e5cdbf0f656..6baada8acb8 100644 --- a/src/content/platform-integration/web/web-dev-config-file.md +++ b/src/content/platform-integration/web/web-dev-config-file.md @@ -5,9 +5,6 @@ description: >- Centralize web development settings including a development proxy --- -# Set up a web development configuration file -**By Sydney Bao** - Flutter web includes a development server that defaults to serving your application in the `localhost` domain using HTTP on a randomly assigned port. While command-line arguments offer @@ -15,8 +12,12 @@ a quick way to modify the server's behavior, this document focuses on a more structured approach: defining your server's behavior through a centralized `web_dev_config.yaml` file. This configuration file allows you to -customize server settings&emdash;host, port, HTTPS settings, and -proxy rules&emdash;ensuring a consistent development environment. +customize server settings—host, port, HTTPS settings, and +proxy rules—ensuring a consistent development environment. + +:::version-note +Support for the `web_dev_config.yaml` file was added in Flutter 3.38. +::: ## Create a configuration file diff --git a/src/data/sidenav.yml b/src/data/sidenav.yml index 083a6cad540..5caa3db7b0b 100644 --- a/src/data/sidenav.yml +++ b/src/data/sidenav.yml @@ -611,6 +611,8 @@ permalink: /platform-integration/web - title: Set up web development permalink: /platform-integration/web/setup + - title: Set up a configuration file + permalink: /platform-integration/web/web-dev-config-file - title: Build a web app permalink: /platform-integration/web/building - title: Compile to WebAssembly