作成:2026-01-21最終更新:2026-01-21

    astro-intlayer パッケージ

    astro-intlayer パッケージは、IntlayerをAstroアプリケーションに統合するために必要なツールを提供します。ロケールベースのルーティングと辞書管理を設定します。

    インストール

    npm install astro-intlayer

    エクスポート

    インテグレーション

    Function Description
    intlayer プロジェクト内でIntlayerをセットアップするAstroのインテグレーション。

    astro-intlayer パッケージは、プロジェクトで Intlayer を設定するための Astro 統合を提供します。

    インポート:

    import "astro-intlayer";

    または astro.config.mjs に追加:

    export default defineConfig({
      integrations: [intlayer()],
    });
    関数 説明
    intlayer プロジェクトで Intlayer をセットアップする Astro の統合。