使用firebase hosting搭建web应用,发布app-

2025-04-16  本文已影响0人  阿波罗101

以mac 电脑为例子

1;前置准备,firebase后台创建对应项目的hosting

2:第二步,本地部署web项目并关联上传到firebase创建的hosting

3:第一步,mac创建本地web文件夹,firebase_public

1:使用firebase init hosting 初始化hosting项目

2:候选种,选择已经存在的项目Please select an option:Use an existing project

3:What do you want to use as your public directory?public输入public

4:Set up automatic builds and deploys with GitHub?输入No

5:最后使用firebase deploy 命令上传项目同步到hosting

上一篇 下一篇

猜你喜欢

热点阅读