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">
.
注释掉
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