Error: The base href in "web/index.html" must be absolute (i.e. start with a "/"), but found:

For example, to serve from the root use:

<base href="/">

To serve from a subpath "foo" (i.e. http://localhost:8080/foo/ instead of http://localhost:8080/) use:

<base href="/foo/">

For more information, see: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base

​<base href="$FLUTTER_BASE_HREF">​​.

#yyds干货盘点#flutter报错_html

注释掉

#yyds干货盘点#flutter报错_flutter_02



​Flutter​​ web问题:Failed to load network image

我的解决办法:

flutter build web --release --web-renderer html

flutter run --web-renderer html

flutter run -d chrome --web-renderer html

#yyds干货盘点#flutter报错_html_03