반응형
NodeXS 설치
Npm install -g firebase-tools
https://console.firebase.google.com/ 에서 project 추가
아래와 같이 등록됨
CLI 로 파이어 베이스 호스팅 설정
firebase deploy --only hosting
Project Console: https://console.firebase.google.com/project/flutter-modumarble/overview
Hosting URL: https://flutter-modumarble.web.app
Hosting URL: https://flutter-modumarble-mobile.web.app
Hosting URL: https://flutter-stock-dart.web.app
웹 빌드
flutter build web --no-sound-null-safety
firebase.json 편집
public 이 build/web 인지 확인
-
firebase deploy –-only hosting
Project Console: https://console.firebase.google.com/project/flutter-modumarble/overview
Hosting URL: https://flutter-modumarble.web.app
<참조>
반응형