[英]How can I disable web support in Flutter?
I recently ran this command to try web support out in Flutter:我最近运行了这个命令来尝试 Flutter 中的 web 支持:
flutter config --enable-web
Now, every project I make has a web
folder and inside is an index.html
.现在,我制作的每个项目都有一个
web
文件夹,里面是一个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
if you try to type flutter config
in terminal you will see all options如果您尝试在终端中输入
flutter config
,您将看到所有选项
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.