File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -79,6 +79,21 @@ to view the release version of your app.
79
79
在浏览器中访问 ` localhost:8000 ` (以 Python 启动的服务器为例)
80
80
来查看应用程序的发布版本 (release)。
81
81
82
+ ## Additional build flags
83
+ You might need to deploy a profile or debug build for testing.
84
+ To do this, pass the ` --profile ` or ` --debug ` flag
85
+ to the ` flutter build web ` command.
86
+ Profile builds are specialized for performance profiling using Chrome DevTools,
87
+ and debug builds can be used to configure dart2js
88
+ to respect assertions and change the optimization level (using the ` -O ` flag.)
89
+
90
+ ## Choosing a build mode and a renderer
91
+
92
+ Flutter web provides two build modes (default and WebAssembly) and two renderers
93
+ (` canvaskit ` and ` skwasm ` ).
94
+
95
+ For more information, see [ Web renderers] [ ] .
96
+
82
97
## Deploying to the web
83
98
84
99
When you are ready to deploy your app,
You can’t perform that action at this time.
0 commit comments