問題タブ [angular-localize]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
angular - @angular/localize でローカライズされた Angular 12 は、nginx を使用して docker で実行されます
angular 12でプロジェクトをセットアップし、その中でローカリゼーションを使用しています。サイトの英語版を正常に実行できますが、url を localhost/de サーバーに変更するボタンを使用して他のロケールに切り替えると、さまざまなファイルに対して多くの 404 が応答します。en に戻すとうまくいきます。
パッケージ.json
Dockerfile
Docker-compose.yml
config/nginx.conf
app.module.ts
app.component.html
次に、アプリを実行するコマンド