Skip to content

Commit d8c1c79

Browse files
authored
Merge pull request #2041 from appwrite/update-flutter-quickstart
Update flutter build settings in Sites Docs
2 parents e0aa5f8 + 58dc901 commit d8c1c79

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/routes/docs/products/sites/develop/+page.markdoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,8 @@ Your site's dependencies should be managed by the package manager of each langua
167167
- {% icon icon="flutter" size="m" /%}
168168
- **Flutter**
169169
- `pub`
170-
- (Empty)
171-
- `flutter build web`
170+
- `flutter pub get`
171+
- `flutter build web --release -t lib/main.dart`
172172
- `./build/web`
173173

174174
---

src/routes/docs/products/sites/quick-start/flutter/+page.markdoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ Connect your GitHub account and select the repository you intend to deploy.
4444
1. Select the **production branch** and **root directory** from your repo.
4545
2. Verify that the **correct framework** is selected. In case an incorrect framework is visible, pick **Flutter Web** from the drop-down list.
4646
3. Confirm the **install command**, **build command**, and **output directory** in the build settings. The default build settings for Flutter Web are:
47-
- **Install command:** `N/A` (leave empty)
48-
- **Build command:** `flutter build web`
47+
- **Install command:** `flutter pub get`
48+
- **Build command:** `flutter build web --release -t lib/main.dart`
4949
- **Output directory:** `./build/web`
5050
4. Add any **environment variables** required by the site.
5151

0 commit comments

Comments
 (0)