Document flavor-specific web resources
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 78/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Lĩnh vực
- cli, documentation
Hướng nghiên cứu
Bắt đầu với hướng dẫn web hiện có trên docs.flutter.dev và tài liệu Flutter CLI cho flutter run và flutter build web; issue không nêu tệp cụ thể. Giải thích cấu trúc web/flavors/<flavor>/, cách các tệp dành riêng cho flavor ghi đè tài nguyên dùng chung và cách tài nguyên dự phòng về web/. Hoàn tất khi hướng dẫn bao gồm cả hai lệnh ví dụ cùng hành vi ghi đè và dự phòng.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Related code pull request or issue
https://github.com/flutter/flutter/pull/197545
Feature summary
The proposed support for flavor-specific web resources introduces a new directory convention for customizing web resources using the existing --flavor argument.
If accepted, the documentation should cover the web/flavors/<flavor>/ directory structure, resource overrides and fallback behavior, and usage with flutter run and flutter build web.
Type of documentation needed
- New conceptual page or guide
- Update to an existing guide on docs.flutter.dev
- Cookbook recipe or practical code sample
- CLI or tooling documentation
- Platform support or integration guide
- Breaking change migration guide
Code snippet or usage example
Example directory structure:
web/
index.html
manifest.json
icons/
flavors/
staging/
index.html
manifest.json
production/
manifest.json
Running or building with a specific flavor:
flutter run -d chrome --flavor staging
flutter build web --flavor production
Files under web/flavors/<flavor>/ override files at the corresponding paths in web/. Resources without a flavor-specific override fall back to the shared directory.
Additional context or resources
- Related feature request: flutter/flutter#141371.
- Additional design details: flutter/rfc#49.
- Ngôn ngữ chính
- Dart
- Star
- 3.1k
- Fork
- 3.5k
- Merge trung bình
- 2 ngày 10 giờ
- Pull request đã merge (30 ngày)
- 88
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của flutter/website
-
a.fwe a.tut.tutorial co.PRs-welcome co.volunteer e0-minutes fix.bug fix.examples from.page-issue p2-medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
flutter/website#14158 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
act.await-dev-pr d.enhancement e1-hours p2-medium st.blocked target.web
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
from.page-issue p2-medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Document the `use-explicit-plural-values` gen-l10n optionCó thể làm lại được @busradansmn đã nhận 27 ngày trước và không có pull request nào đang mở. Đang mởact.await-dev-pr d.enhancement e0-minutes p2-medium t.cli-tools t.i18n t.l10n
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
flutter/website#13993 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
a.tut.codelab-google fix.code-sample fix.link fix.typo from.flutter-sdk p2-medium
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
flutter/website#13967 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của flutter/website
Issue tương tự
-
lang-java needs-triage package:jni package:jni_flutter package:jnigen
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 2 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
finamp-app/finamp#1920 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 83/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
flutter/flutter#197796 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày