跳到主要内容

在Vercel上部署Flutter应用

原文:Let’s deploy Flutter-web to Vercel

Build command

flutter/bin/flutter build web --release

Output directory

build/web

Install command

if cd flutter; then git pull && cd .. ; else git clone https://github.com/flutter/flutter.git; fi && ls && flutter/bin/flutter doctor && flutter/bin/flutter clean && flutter/bin/flutter config --enable-web