Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions src/content/docs/ja/guides/integrations-guide/preact.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,13 @@ Astro Preactインテグレーションは、Preactコンポーネントのレ

基本的な使用法では、Preactインテグレーションを設定する必要はありません。

### compat
### `compat`

<p>

**Type:** `boolean`<br />
<Since pkg="@astrojs/preact" v="0.3.0" />
</p>

`preact/compat`を有効にできます。これは、Reactのより大きなライブラリをユーザーのWebブラウザーにインストールまたは配布することなく、ReactコンポーネントをレンダリングするためのPreactの互換性レイヤーです。

Expand Down Expand Up @@ -167,9 +173,13 @@ Reactコンポーネントライブラリをインポートする場合、`react
現在、`compat`オプションは、ESMとしてコードをエクスポートするReactライブラリでのみ機能します。ビルド時にエラーが発生した場合は、`astro.config.mjs`ファイルの`vite.ssr.noExternal: ['the-react-library']`にライブラリを追加してみてください。
:::

### devtools
### `devtools`

<p>

<p><Since pkg="@astrojs/preact" v="3.3.0" /></p>
**Type:** `boolean`<br />
<Since pkg="@astrojs/preact" v="3.3.0" />
</p>

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

Expand Down
8 changes: 6 additions & 2 deletions src/content/docs/ja/guides/integrations-guide/solid-js.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,13 @@ Astroで最初のSolidJSコンポーネントを使用するには、[UIフレ

## 設定

### devtools
### `devtools`

<p><Since pkg="@astrojs/solid-js" v="4.2.0" /></p>
<p>

**Type:** `boolean`<br />
<Since pkg="@astrojs/solid-js" v="4.2.0" />
</p>

`solid()`インテグレーション設定に`devtools: true`を持つオブジェクトを渡し、プロジェクトの依存関係に`solid-devtools`を追加することで、開発中に[Solid DevTools](https://github.com/thetarnav/solid-devtools)を有効にできます。

Expand Down
24 changes: 20 additions & 4 deletions src/content/docs/ja/guides/integrations-guide/vue.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,13 @@ export default defineConfig({
});
```

### appEntrypoint
### `appEntrypoint`

<p>

**Type:** `string`<br />
<Since pkg="@astrojs/vue" v="1.2.0" />
</p>

`appEntrypoint`オプションをルートからの相対的なインポート指定子(例:`appEntrypoint: "/src/pages/_app"`)に設定することで、Vue `app`インスタンスを拡張できます。

Expand All @@ -165,7 +171,13 @@ export default (app: App) => {
};
```

### jsx
### `jsx`

<p>

**Type:** `boolean | object`<br />
<Since pkg="@astrojs/vue" v="1.2.0" />
</p>

`jsx: true`を設定することで、Vue JSXを使用できます。

Expand Down Expand Up @@ -198,9 +210,13 @@ export default defineConfig({
});
```

### devtools
### `devtools`

<p>

<p><Since pkg="@astrojs/vue" v="4.2.0" /></p>
**Type:** `boolean | object`<br />
<Since pkg="@astrojs/vue" v="4.2.0" />
</p>

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

Expand Down
Loading