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

有没有nextjs的版本可以作为参考? #895

Open
wang-h opened this issue Jul 13, 2024 · 3 comments
Open

有没有nextjs的版本可以作为参考? #895

wang-h opened this issue Jul 13, 2024 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@wang-h
Copy link

wang-h commented Jul 13, 2024

Question

有没有nextjs的版本可以作为参考?看了下是Vite写的。尝试迁移遇到了n多问题。

@wang-h wang-h added the help wanted Extra attention is needed label Jul 13, 2024
@mortalYoung
Copy link
Collaborator

是 2.x 的版本么?

@wewoor
Copy link
Collaborator

wewoor commented Jul 15, 2024

Question

有没有nextjs的版本可以作为参考?看了下是Vite写的。尝试迁移遇到了n多问题。

Next.js 的话,你应该要使用 'use client' 模式,

https://nextjs.org/docs/app/building-your-application/rendering/client-components

@wang-h
Copy link
Author

wang-h commented Jul 24, 2024

是 2.x 的版本么?

是的,感谢你们的贡献。我还没来得及细看,不过看到这个应该是只能在客户端运行,想找个2.x next app版本,想参考下左侧文件系统文件夹结构和ide 文件内容部分链接如何处理的?方便指点一下吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants