[Feature]: Support (re)loading from alternate path at runtime

オープン
#8,075 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
30/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
android, ios, typescript

調査の方向性

まず、既存の appStartPath の実装と、関連する issue #3912、dependency #3913、PR #8019 および #3405 を確認してください。iOS、Android、Web で実行時に代替の開始ファイルを選択して上書きする方法を定義します。完了条件は、各プラットフォームが app.html や en-US/index.html のようなパスを読み込むことです。

索引モデルが issue の本文から書いたものです。

説明

triage
Description

Change path directory during runtime to support Angular localization

Platforms
  • iOS
  • Android
  • Web
Request or proposed solution

appStartPath was added, but since it isn't a dynamic runtime feature, it doesn't help with #3912. Feel free to reopen #3912 instead.

At runtime, we should support the use case of loading a file other than /index.html. For example: __app.html or en-US/index.html. This could also be a configuration option, but we should be able to override it at runtime to allow for use cases such as this: https://github.com/ionic-team/capacitor/discussions/3905

see https://github.com/ionic-team/capacitor/pull/3405
depends on https://github.com/ionic-team/capacitor/issues/3913

Alternatives

No response

Additional Information

No response

主要言語
TypeScript
スター
17.1k
フォーク
1.3k
平均マージ
1日 22時間
マージ済み PR(30日)
26

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ionic-team/capacitor のほかの issue

ionic-team/capacitor の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。