We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is a newbie question:
https://github.com/uniformdev/component-starter-kit-next-approuter?tab=readme-ov-file mentions that to change rendering mode to SSG, enable the line 10 generateStaticParams:
export { generateStaticParams } from '@uniformdev/canvas-next-rsc';
but i met the error:
Module '"@uniformdev/canvas-next-rsc/component"' has no exported member 'generateStaticParams'
Any resolution to this error? Thanks
The text was updated successfully, but these errors were encountered:
Hello @mathwo there is a typo in a comment, sorry about that! Instead of @uniformdev/canvas-next-rsc/component please use @uniformdev/canvas-next-rsc:
@uniformdev/canvas-next-rsc/component
@uniformdev/canvas-next-rsc
I double checked, the examples/ssg branch is working for me: https://github.com/uniformdev/component-starter-kit-next-approuter/blob/examples/ssg/src/app/%5B%5B...path%5D%5D/page.tsx#L8
examples/ssg
Please confirm once you have a chance.
Sorry, something went wrong.
alexshyba
No branches or pull requests
This is a newbie question:
https://github.com/uniformdev/component-starter-kit-next-approuter?tab=readme-ov-file mentions that to change rendering mode to SSG, enable the line 10 generateStaticParams:
export { generateStaticParams } from '@uniformdev/canvas-next-rsc';
but i met the error:
Module '"@uniformdev/canvas-next-rsc/component"' has no exported member 'generateStaticParams'
Any resolution to this error? Thanks
The text was updated successfully, but these errors were encountered: