如何在Flutter中禁用Web支持? [英] How can I disable web support in Flutter?
本文介绍了如何在Flutter中禁用Web支持?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我最近运行了此命令以尝试在Flutter中进行网络支持:
I recently ran this command to try web support out in Flutter:
flutter config --enable-web
现在,我创建的每个项目都有一个web
文件夹,并且内部是一个index.html
.有什么方法可以禁用以后的项目,对我来说删除文件夹并继续进行安全吗?
Now, every project I make has a web
folder and inside is an index.html
. Is there any way I can disable that for future projects and is it safe for me to just delete the folder and carry on?
推荐答案
flutter config --no-enable-web
如果您尝试在终端中键入flutter config
,则将看到所有选项
if you try to type flutter config
in terminal you will see all options
这篇关于如何在Flutter中禁用Web支持?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文