Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v5能否考虑兼容Nextjs 支持SSR渲染 #3878

Closed
1 task
agooddream opened this issue Aug 6, 2021 · 9 comments
Closed
1 task

v5能否考虑兼容Nextjs 支持SSR渲染 #3878

agooddream opened this issue Aug 6, 2021 · 9 comments
Assignees
Milestone

Comments

@agooddream
Copy link

  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

解决无法在Next js 中使用的问题
能支持SSR渲染

What does the proposed API look like?

支持SSR渲染

@awmleer
Copy link
Member

awmleer commented Aug 6, 2021

发布正式版本之前肯定会支持的

@awmleer awmleer self-assigned this Aug 6, 2021
@awmleer awmleer added this to the 5.0.0-beta milestone Aug 16, 2021
@awmleer
Copy link
Member

awmleer commented Sep 15, 2021

相关 issue: #3951

@awmleer awmleer pinned this issue Sep 15, 2021
@awmleer
Copy link
Member

awmleer commented Sep 15, 2021

Related: vercel/next.js#27953

@awmleer
Copy link
Member

awmleer commented Sep 15, 2021

image

初步验证 OK 了

@silentim
Copy link

没成功,提示document is not defined

import {Button} from 'antd-mobile';

export default function Home(){
    return (
        <Card title="xyz">abc</Card>
    )
}

20210916103743

@awmleer
Copy link
Member

awmleer commented Sep 16, 2021

需要 antd-mobile 发个版本的,稍等这两天就发哈

@silentim
Copy link

非常谢谢,期待中~~

@awmleer
Copy link
Member

awmleer commented Sep 17, 2021

最新版本已支持:https://next.mobile.ant.design/guide/ssr

@awmleer awmleer closed this as completed Sep 17, 2021
@awmleer awmleer unpinned this issue Sep 21, 2021
@pengxueshan
Copy link

最新版本已支持:https://next.mobile.ant.design/guide/ssr

https://mobile.ant.design/guide/ssr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants