Skip to content

Nextjs css import fix#96

Open
kayvaninvemo wants to merge 2 commits intofarminf:masterfrom
kayvaninvemo:nextjs-css-import-fix
Open

Nextjs css import fix#96
kayvaninvemo wants to merge 2 commits intofarminf:masterfrom
kayvaninvemo:nextjs-css-import-fix

Conversation

@kayvaninvemo
Copy link
Copy Markdown

In NextJS if the library imports a css, the build fails. So it is better to let the user to import the css. As this is a breaking change, we need to change a major version.

Copy link
Copy Markdown

@ChanderShekharKestone ChanderShekharKestone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

How to reslove inmy next js app.

@kayvaninvemo
Copy link
Copy Markdown
Author

image

How to reslove inmy next js app.

We are waiting for the PR to be merged and published. Meanwhile you can check this one https://github.com/kayvaninvemo/pannellum-react/tree/master

@MauriceMorrey
Copy link
Copy Markdown

Any idea when this will be merged?

@aman-technyx
Copy link
Copy Markdown

image
How to reslove inmy next js app.

We are waiting for the PR to be merged and published. Meanwhile you can check this one https://github.com/kayvaninvemo/pannellum-react/tree/master

GETTING ERROR
windows is undefined

after creating a patch getting so much error

next's 12
react 18

@kayvaninvemo
Copy link
Copy Markdown
Author

This is working on one of our production env. And I could not find the error. With React 17 and Nextjs 12.

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

Successfully merging this pull request may close these issues.

5 participants