You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to publish a React component package, using NextJS as the compiler
Although your component library may not be making use of React Server Components and the like, it can be helpful to see how the component behaves in a NextJS context.
@sirPixieJerry Thanks a lot. I've fixed that now. I've also updated the post so to use the exports property in the package.json, so you don't need to import via the dist folder.
How to publish a React component package, using NextJS as the compiler
Although your component library may not be making use of React Server Components and the like, it can be helpful to see how the component behaves in a NextJS context.
https://blacksheepcode.com/posts/publish_a_react_package_using_nextjs_as_a_base
The text was updated successfully, but these errors were encountered: