| [[Angular]] | [[Firebase]] | [[Google Cloud Platform]] |==[[Angular ]] [[Firebase ]] 構築手順==
[https://www.typea.info/blog/index.php/2020/04/04/firebase-hosting-firestore-release/ Firebase Hosting に Angular を統合して Firestore に接続]
===[[Angular]]===
};
</pre>
====設定の確認====
*firebase.json の hosting/public デプロイ対象のフォルダを、Angularのビルド先の フォルダ(angular.json の outputPath)、distに変更する
<pre>
“hosting”: {
“public”: “dist”,
</pre>
*Hostingの設定/設定解除
<pre>
$ firebase target:apply hosting typea-info-service
$ firebase target:clear hosting typea-info-service
</pre>
*確認
<pre>
$ firebase target
Resource targets for typea-info-service:
[ hosting ]
typea-info-service (typea-info-service)
</pre>
===Angular Fire===
*https://github.com/angular/angularfire/blob/master/docs/install-and-setup.md