diff --git a/docs/course/dev-init.md b/docs/course/dev-init.md index 356fd890e..81ace9a32 100644 --- a/docs/course/dev-init.md +++ b/docs/course/dev-init.md @@ -69,7 +69,7 @@ After the installation is complete, you need configure the `next.config.js` beca /** @type {import('next').NextConfig} */ const nextConfig = { reactStrictMode: true, -+ transpilePackages: [ "@ant-design", "antd", "rc-util", "rc-pagination", "rc-picker" ], ++ transpilePackages: [ "@ant-design", "antd", "rc-util", "rc-pagination", "rc-picker", "rc-input" ], } module.exports = nextConfig diff --git a/docs/course/dev-init.zh-CN.md b/docs/course/dev-init.zh-CN.md index 4aeb84060..bb503346c 100644 --- a/docs/course/dev-init.zh-CN.md +++ b/docs/course/dev-init.zh-CN.md @@ -69,7 +69,7 @@ npm i antd @ant-design/web3 --save /** @type {import('next').NextConfig} */ const nextConfig = { reactStrictMode: true, -+ transpilePackages: [ "@ant-design", "antd", "rc-util", "rc-pagination", "rc-picker" ], ++ transpilePackages: [ "@ant-design", "antd", "rc-util", "rc-pagination", "rc-picker", "rc-input" ], } module.exports = nextConfig