-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
Global CSS cannot be imported from within node_modules. #256
Comments
im using dynamic from next to import the component that is rendering the @jupyterui components |
I didn't find any thing on docs about how to embed in an existing project so I'm trying to embed in my nextjs app following how the next.config.js and package.json is currently setted up in the nextjs example |
@breno-sapucaia Next.js is sometimes tricky as not relying on webpack by default. Can you check that your config looks like this example ? https://github.com/datalayer-examples/jupyter-nextjs-example/blob/main/next.config.js |
@echarles hey, thanks for the reply this is how my next.config.js is configurated |
also, i noticed sometimes when using ui components as packages on nextjs applications, the package advice us to import all |
Hi @breno-sapucaia Is it resolved for you? Otherwise it is fine to leave it open if you prefer.
Could you paste here the log that tells that? |
@echarles I am having this same issue in the pages router. An example repo working in the pages router would be amazing |
Description
im working on a nextjs@11 project and im trying to implement the jupyter ui, my end goal is just edit a file without the needing of a server, but im receiving this bug on my terminal about the css:
Reproduce
install the
"@datalayer/icons-react": "^0.3.0",
"@datalayer/jupyter-react": "^0.12.1",
"@datalayer/primer-addons": "^0.3.0",
"svg-url-loader": "^8.0.0",
"raw-loader": "^4.0.2",
and try to embed the jupyter notebook component
Expected behavior
should work as normal right?
Context
im creating an web edit environment for my .ipynb files that is current deployed, so im downloading them and trying to render the Jupyter and Notebook componets on the ui
Browser Output
The text was updated successfully, but these errors were encountered: