- 切换flutter版本:
flutter channel beta
(切回来:flutter channel stable
) - 使本机flutter支持web :
flutter config --enable-web
- 检查配置: image.png
- 新建项目,必须在vscode等IDE里新建, 命令行新建的项目无web目录
- 在浏览器运行:
flutter run -d chrome
效果: image.png
flutter channel beta
flutter channel stable
)flutter config --enable-web
flutter run -d chrome
本文标题:flutter web开发流程
本文链接:https://www.haomeiwen.com/subject/mdemiktx.html
网友评论