Skip to content

Commit

Permalink
:feat: 更新部分文档 & Mirror 版本发布(#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
ONLY-yours authored Jan 19, 2024
1 parent 377834f commit c4c930a
Show file tree
Hide file tree
Showing 10 changed files with 31 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ $ pnpm install @ant-design/pro-editor
```js
const nextConfig = {
transpilePackages: ['@ant-design/pro-editor'],
transpilePackages: ['@ant-design/pro-editor', 'leva', 'zustand'],
};
```

Expand Down
2 changes: 1 addition & 1 deletion README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ $ pnpm install @ant-design/pro-editor
```js
const nextConfig = {
transpilePackages: ['@ant-design/pro-editor'],
transpilePackages: ['@ant-design/pro-editor', 'leva', 'zustand'],
};
```

Expand Down
2 changes: 1 addition & 1 deletion docs/guide/intro.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Since Next.js is a CSR/SSR isomorphic React framework, and ProEditor only provid
/** @type {import('next').NextConfig} */
const nextConfig = {
// Convert pure esm modules to node-compatible modules
transpilePackages: ['@ant-design/pro-editor'], // leva is a ProEditor dependency module
transpilePackages: ['@ant-design/pro-editor', 'leva', 'zustand'], // leva is a ProEditor dependency module
};
```

Expand Down
2 changes: 1 addition & 1 deletion docs/guide/intro.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ ProEditor 将会提供编辑场景需要的各类原子化能力,包括但不
/** @type {import('next').NextConfig} */
const nextConfig = {
// 将纯 esm 模块转为 node 兼容模块
transpilePackages: ['@ant-design/pro-editor'], // leva 为 ProEditor 依赖模块
transpilePackages: ['@ant-design/pro-editor', 'leva', 'zustand'], // leva 为 ProEditor 依赖模块
};
```

Expand Down
6 changes: 6 additions & 0 deletions docs/guide/nextjs.en-US.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: NextJs
group:
title: Work in FrameWork
order: 5
---
6 changes: 6 additions & 0 deletions docs/guide/nextjs.zh-CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: NextJs
group:
title: 框架使用
order: 5
---
5 changes: 3 additions & 2 deletions docs/guide/redo-undo.en-US.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
title: Undo Redo
group: State Management Development
order: 2
group:
title: State Management
order: 2
---

# Undo Redo
Expand Down
6 changes: 6 additions & 0 deletions docs/guide/umi.en-US.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: Umi
group:
title: Work in FrameWork
order: 5
---
6 changes: 6 additions & 0 deletions docs/guide/umi.zh-CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: Umi
group:
title: 框架使用
order: 5
---
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@
"@emotion/styled": "^11.11.0",
"@faker-js/faker": "^7.6.0",
"@floating-ui/react": "^0.24.8",
"@mui/material": "^5.15.1",
"@textea/json-viewer": "^3.2.3",
"ahooks": "^3.7.8",
"classnames": "^2.3.2",
Expand Down

0 comments on commit c4c930a

Please sign in to comment.