Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

fix: add missing Aside import in queries.mdx

esengine5b463e3e35cb
diff --git a/docs/astro/src/content/docs/core-concepts/queries.mdx b/docs/astro/src/content/docs/core-concepts/queries.mdx
index 6d3e4ed47..4906340d8 100644
--- a/docs/astro/src/content/docs/core-concepts/queries.mdx
+++ b/docs/astro/src/content/docs/core-concepts/queries.mdx
@@ -3,6 +3,8 @@ title: Queries
description: Querying entities by component in Estella
---
+import { Aside } from '@astrojs/starlight/components';
+
Queries let you iterate over entities that have specific components. They are the primary way systems access entity data from the scene.
## Basic Query
diff --git a/docs/astro/src/content/docs/zh/core-concepts/queries.mdx b/docs/astro/src/content/docs/zh/core-concepts/queries.mdx
index d01adf625..8d80ba273 100644
--- a/docs/astro/src/content/docs/zh/core-concepts/queries.mdx
+++ b/docs/astro/src/content/docs/zh/core-concepts/queries.mdx
@@ -3,6 +3,8 @@ title: 查询
description: 在 Estella 中按组件查询实体
---
+import { Aside } from '@astrojs/starlight/components';
+
查询让你遍历具有特定组件的实体,是系统访问场景中实体数据的主要方式。
## 基本查询