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'm trying to add latex.js in my nuxt3 web app.
When running in development mode npm run dev I got these errors:
Error: Build failed with 2 errors:
node_modules/latex.js/dist/latex.mjs:2:204145: ERROR: No loader is configured for ".keep" files: node_modules/latex.js/dist/documentclasses/.keep
node_modules/latex.js/dist/latex.mjs:2:204648: ERROR: No loader is configured for ".keep" files: node_modules/latex.js/dist/packages/.keep
When build npm run build I got no error, but instead errors running the app in browser:
error loading documentclass "minimal": ReferenceError: require is not defined
I'm trying to add latex.js in my nuxt3 web app.
When running in development mode
npm run dev
I got these errors:When build
npm run build
I got no error, but instead errors running the app in browser:My minimal package.json is like:
My sample usage is like:
Any help is appreciated.
The text was updated successfully, but these errors were encountered: