Creation:2026-01-21Last update:2026-01-21

    astro-intlayer パッケージ

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

    インストール

    bash
    npm install astro-intlayer

    エクスポート

    インテグレーション

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

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

    インポート:

    tsx
    import "astro-intlayer";

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

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