diff --git a/src/content/docs/ja/guides/integrations-guide/preact.mdx b/src/content/docs/ja/guides/integrations-guide/preact.mdx index 45d8210264d3a..eede5ae4b6b3f 100644 --- a/src/content/docs/ja/guides/integrations-guide/preact.mdx +++ b/src/content/docs/ja/guides/integrations-guide/preact.mdx @@ -133,7 +133,13 @@ Astro Preactインテグレーションは、Preactコンポーネントのレ 基本的な使用法では、Preactインテグレーションを設定する必要はありません。 -### compat +### `compat` + +

+ +**Type:** `boolean`
+ +

`preact/compat`を有効にできます。これは、Reactのより大きなライブラリをユーザーのWebブラウザーにインストールまたは配布することなく、ReactコンポーネントをレンダリングするためのPreactの互換性レイヤーです。 @@ -167,9 +173,13 @@ Reactコンポーネントライブラリをインポートする場合、`react 現在、`compat`オプションは、ESMとしてコードをエクスポートするReactライブラリでのみ機能します。ビルド時にエラーが発生した場合は、`astro.config.mjs`ファイルの`vite.ssr.noExternal: ['the-react-library']`にライブラリを追加してみてください。 ::: -### devtools +### `devtools` + +

-

+**Type:** `boolean`
+ +

`preact()`インテグレーション設定に`devtools: true`を持つオブジェクトを渡すことで、開発中に[Preact devtools](https://preactjs.github.io/preact-devtools/)を有効にできます。 diff --git a/src/content/docs/ja/guides/integrations-guide/solid-js.mdx b/src/content/docs/ja/guides/integrations-guide/solid-js.mdx index 49fe999dfd02c..20c6b3a2392f3 100644 --- a/src/content/docs/ja/guides/integrations-guide/solid-js.mdx +++ b/src/content/docs/ja/guides/integrations-guide/solid-js.mdx @@ -117,9 +117,13 @@ Astroで最初のSolidJSコンポーネントを使用するには、[UIフレ ## 設定 -### devtools +### `devtools` -

+

+ +**Type:** `boolean`
+ +

`solid()`インテグレーション設定に`devtools: true`を持つオブジェクトを渡し、プロジェクトの依存関係に`solid-devtools`を追加することで、開発中に[Solid DevTools](https://github.com/thetarnav/solid-devtools)を有効にできます。 diff --git a/src/content/docs/ja/guides/integrations-guide/vue.mdx b/src/content/docs/ja/guides/integrations-guide/vue.mdx index 49d2257b75489..ab8d4f6157e2d 100644 --- a/src/content/docs/ja/guides/integrations-guide/vue.mdx +++ b/src/content/docs/ja/guides/integrations-guide/vue.mdx @@ -140,7 +140,13 @@ export default defineConfig({ }); ``` -### appEntrypoint +### `appEntrypoint` + +

+ +**Type:** `string`
+ +

`appEntrypoint`オプションをルートからの相対的なインポート指定子(例:`appEntrypoint: "/src/pages/_app"`)に設定することで、Vue `app`インスタンスを拡張できます。 @@ -165,7 +171,13 @@ export default (app: App) => { }; ``` -### jsx +### `jsx` + +

+ +**Type:** `boolean | object`
+ +

`jsx: true`を設定することで、Vue JSXを使用できます。 @@ -198,9 +210,13 @@ export default defineConfig({ }); ``` -### devtools +### `devtools` + +

-

+**Type:** `boolean | object`
+ +

`vue()`インテグレーション設定に`devtools: true`を持つオブジェクトを渡すことで、開発中に[Vue DevTools](https://devtools-next.vuejs.org/)を有効にできます。