docs: 修复构建问题

This commit is contained in:
AncTe committed 2025-08-20 15:31:11 +08:00
1 parent 66ec8190c9
commit 2d1ede21cd
9 files changed
+104 -107

No files matched your search

+25 -26
View File
@@ -4,29 +4,28 @@ lang: zh-CN
# API 列表
- [@motajs/client](./motajs-client) 渲染层代码
- [@motajs/client-base](./motajs-client-base) 渲染层底层代码
- [@motajs/common](./motajs-common) 渲染层和数据层通用代码
- [@motajs/legacy-client](./motajs-legacy-client) 遗留渲染层代码
- [@motajs/legacy-common](./motajs-legacy-common) 遗留通用代码
- [@motajs/legacy-data](./motajs-legacy-data) 遗留数据层代码
- [@motajs/legacy-system](./motajs-legacy-system) 遗留渲染层系统代码
- [@motajs/legacy-ui](./motajs-legacy-ui) 遗留 UI 相关代码
- [@motajs/render](./motajs-render) 渲染系统代码
- [@motajs/render-core](./motajs-render-core) 渲染系统核心代码
- [@motajs/render-elements](./motajs-render-elements) 渲染系统内置元素代码
- [@motajs/render-style](./motajs-render-style) 渲染系统样式代码
- [@motajs/render-vue](./motajs-render-vue) 渲染系统 vue 支持代码
- [@motajs/system](./motajs-system) 渲染层系统代码
- [@motajs/system-action](./motajs-system-action) 渲染层交互系统代码
- [@motajs/system-ui](./motajs-system-ui) 渲染层 UI 系统代码
- [@motajs/types](./motajs-types) 渲染层类型代码
- [@user/client-modules](./user-client-modules) 用户渲染层主要代码
- [@user/data-base](./user-data-base) 用户数据层底层代码
- [@user/data-fallback](./user-data-fallback) 用户数据层向后兼容代码
- [@user/data-state](./user-data-state) 用户数据层状态代码
- [@user/data-utils](./user-data-utils) 用户数据层工具代码
- [@user/entry-client](./user-entry-client) 用户渲染层入口
- [@user/entry-data](./user-entry-data) 用户数据层入口
- [@user/legacy-plugin-client](./user-legacy-plugin-client) 用户遗留渲染层代码
- [@user/legacy-plugin-data](./user-legacy-plugin-data) 用户遗留数据层代码
- [@motajs/client](./motajs-client/index.md) 渲染层代码
- [@motajs/client-base](./motajs-client-base/index.md) 渲染层底层代码
- [@motajs/common](./motajs-common/index.md) 渲染层和数据层通用代码
- [@motajs/legacy-client](./motajs-legacy-client/index.md) 遗留渲染层代码
- [@motajs/legacy-common](./motajs-legacy-common/index.md) 遗留通用代码
- [@motajs/legacy-system](./motajs-legacy-system/index.md) 遗留渲染层系统代码
- [@motajs/legacy-ui](./motajs-legacy-ui/index.md) 遗留 UI 相关代码
- [@motajs/render](./motajs-render/index.md) 渲染系统代码
- [@motajs/render-core](./motajs-render-core/index.md) 渲染系统核心代码
- [@motajs/render-elements](./motajs-render-elements/index.md) 渲染系统内置元素代码
- [@motajs/render-style](./motajs-render-style/index.md) 渲染系统样式代码
- [@motajs/render-vue](./motajs-render-vue/index.md) 渲染系统 vue 支持代码
- [@motajs/system](./motajs-system/index.md) 渲染层系统代码
- [@motajs/system-action](./motajs-system-action/index.md) 渲染层交互系统代码
- [@motajs/system-ui](./motajs-system-ui/index.md) 渲染层 UI 系统代码
- [@motajs/types](./motajs-types/index.md) 渲染层类型代码
- [@user/client-modules](./user-client-modules/index.md) 用户渲染层主要代码
- [@user/data-base](./user-data-base/index.md) 用户数据层底层代码
- [@user/data-fallback](./user-data-fallback/index.md) 用户数据层向后兼容代码
- [@user/data-state](./user-data-state/index.md) 用户数据层状态代码
- [@user/data-utils](./user-data-utils/index.md) 用户数据层工具代码
- [@user/entry-client](./user-entry-client/index.md) 用户渲染层入口
- [@user/entry-data](./user-entry-data/index.md) 用户数据层入口
- [@user/legacy-plugin-client](./user-legacy-plugin-client/index.md) 用户遗留渲染层代码
- [@user/legacy-plugin-data](./user-legacy-plugin-data/index.md) 用户遗留数据层代码
@@ -54,8 +54,8 @@ const boldFont = new Font('Verdana', 18, 'px', 700);
**优化策略**:
- 背景层缓存,避免重复绘制
- 计数器单独放置在独立容器,避免高频内容污染致使低频内容也需要高频更新
- 背景层缓存,避免重复绘制
- 计数器单独放置在独立容器,避免高频内容污染致使低频内容也需要高频更新
---
@@ -127,7 +127,7 @@ return () => (
### 大数据量处理方案
考虑使用[滚动条](../user-client-modules/Scroll.md)或[分页](../user-client-modules/Page.md)组件。
考虑使用[滚动条](../user-client-modules/组件 Scroll.md)或[分页](../user-client-modules/组件 Page.md)组件。
---
+7 -7
View File
@@ -44,9 +44,9 @@ import { Font } from '@motajs/render-style';
**效果**:
- 在 (100,50) 位置显示蓝色 "Hello World"
- 使用 24px 粗体 Arial 字体
- 无描边效果
- 在 (100,50) 位置显示蓝色 "Hello World"
- 使用 24px 粗体 Arial 字体
- 无描边效果
---
@@ -67,9 +67,9 @@ import { Font } from '@motajs/render-style';
**效果**:
- 金色文字带黑色半透明描边
- 32px 加粗斜体 Verdana
- 2px 描边宽度
- 金色文字带黑色半透明描边
- 32px 加粗斜体 Verdana
- 2px 描边宽度
---
@@ -156,5 +156,5 @@ import { Font } from '@motajs/render-style';
## 注意事项
1. 如果需要显示多行文本,考虑使用 [TextContent](../user-client-modules/TextContent.md)
1. 如果需要显示多行文本,考虑使用 [TextContent](../user-client-modules/组件 TextContent.md)
2. 考虑到浏览器兼容性,不建议在颜色中填写一些新标准的语法,例如 `rgb(0.3, 0.6, 0.8 / 0.6)` `#rgba` 等