- Build the production version.
- Upload everything inside
build/webto the website's domain folder. - Add a rewrite rule so deep links open the app instead of a 404 page.
flutter build web --release
Apache rewrite rule (.htaccess)
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.html [L]
After uploading, open the site in a private window to avoid a cached older version, then place a test order.
Need help with this step? Contact support or submit a ticket.