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
I am trying to use react-mathlive in a next.js project but facing this issue
./node_modules/mathlive/dist/mathlive-fonts.css
Global CSS cannot be imported from within node_modules.
Read more: https://nextjs.org/docs/messages/css-npm
Location: node_modules/react-mathlive/dist/MathfieldComponent.js
This package is out of date and as far as I can tell no longer maintained. The good news is that using MathLive in React should be pretty straightforward since it is now a web component.
It's actually probably more complicated than what you need since it tries to do some custom styling which is probably not needed, but that may be enough to get you started
I am trying to use
react-mathlive
in a next.js project but facing this issueI'm dropping nextjs documentation link here
https://nextjs.org/docs/messages/css-npm
The text was updated successfully, but these errors were encountered: