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

nextjs13和xrender中formRender的最小实践 #1299

Open
xiaomingyu-git opened this issue Jun 13, 2023 · 0 comments
Open

nextjs13和xrender中formRender的最小实践 #1299

xiaomingyu-git opened this issue Jun 13, 2023 · 0 comments
Assignees
Labels
form form-render good first issue Good for newcomers help wanted Extra attention is needed

Comments

@xiaomingyu-git
Copy link

nextjs13和xrender中formRender的最小实践

next.config.js 中加入配置 transpilePackages: ['form-render'],
页面中引用
const FormRenderwithoutssr = dynamic(() => import('../pages/schema/formRender'), { ssr: false, });

form-render 本身不支持ssr
参考demo
https://github.com/xiaomingyu-git/nextjs13-with-formrender

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
form form-render good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants