From e345c3d0c046c8cea9b1978ed1d216494318a777 Mon Sep 17 00:00:00 2001 From: Shinji-Li <1349021570@qq.com> Date: Mon, 22 Jan 2024 16:07:41 +0800 Subject: [PATCH] :memo: docs: update NextJs config (#55) --- README.md | 2 -- README.zh-CN.md | 2 -- demos/chatgpt-nextjs/next.config.js | 2 -- demos/qwen-nextjs/next.config.js | 2 -- docs/guide/intro-start.md | 2 -- docs/guide/qwen.md | 2 -- 6 files changed, 12 deletions(-) diff --git a/README.md b/README.md index 2300e390..da35fea2 100644 --- a/README.md +++ b/README.md @@ -58,9 +58,7 @@ const nextConfig = { transpilePackages: [ '@ant-design/pro-chat', '@ant-design/pro-editor', - 'zustand', 'react-intersection-observer', - 'leva', ], }; ``` diff --git a/README.zh-CN.md b/README.zh-CN.md index e66237fd..818dc7d6 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -56,9 +56,7 @@ const nextConfig = { transpilePackages: [ '@ant-design/pro-chat', '@ant-design/pro-editor', - 'zustand', 'react-intersection-observer', - 'leva', ], }; ``` diff --git a/demos/chatgpt-nextjs/next.config.js b/demos/chatgpt-nextjs/next.config.js index fcf5b0c6..8b066925 100644 --- a/demos/chatgpt-nextjs/next.config.js +++ b/demos/chatgpt-nextjs/next.config.js @@ -3,9 +3,7 @@ const nextConfig = { transpilePackages: [ '@ant-design/pro-editor', '@ant-design/pro-chat', - 'zustand', 'react-intersection-observer', - 'leva', ], }; diff --git a/demos/qwen-nextjs/next.config.js b/demos/qwen-nextjs/next.config.js index fcf5b0c6..8b066925 100644 --- a/demos/qwen-nextjs/next.config.js +++ b/demos/qwen-nextjs/next.config.js @@ -3,9 +3,7 @@ const nextConfig = { transpilePackages: [ '@ant-design/pro-editor', '@ant-design/pro-chat', - 'zustand', 'react-intersection-observer', - 'leva', ], }; diff --git a/docs/guide/intro-start.md b/docs/guide/intro-start.md index c75b708e..373645e1 100644 --- a/docs/guide/intro-start.md +++ b/docs/guide/intro-start.md @@ -150,8 +150,6 @@ const nextConfig = { '@ant-design/pro-chat', 'react-intersection-observer', '@ant-design/pro-editor', - 'leva', - 'zustand', ], }; ``` diff --git a/docs/guide/qwen.md b/docs/guide/qwen.md index e9c70ddc..5d85dcb3 100644 --- a/docs/guide/qwen.md +++ b/docs/guide/qwen.md @@ -28,9 +28,7 @@ const nextConfig = { transpilePackages: [ '@ant-design/pro-editor', '@ant-design/pro-chat', - 'zustand', 'react-intersection-observer', - 'leva', ], }; module.exports = nextConfig;