如何将 flutter web 应用程序部署到 firebase 托管

在这里插入图片描述

步骤-1创建项目

在 Firebase 控制台中登录并创建您的项目

在这里插入图片描述
在您的 flutter 项目 web 文件夹中进行更改

步骤-2:Index.html

<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <meta content="IE=Edge" http-equiv="X-UA-Compatible">
  <meta name="description" content="App description">

  <!-- iOS meta tags & icons -->
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="apple-mobile-web-app-status-bar-style" content="black">
  <meta name="apple-mobile-web-app-title" content="bevent">
  <link rel="apple-touc

猜你喜欢

转载自blog.csdn.net/iCloudEnd/article/details/130035238