chatengine-io / react-chat-engine

React component for a cheap and easy chat API
138 stars 35 forks source link

Dynamic require is not supported #98

Closed NourH2000 closed 2 years ago

NourH2000 commented 2 years ago

I am using a reactJs, and i got this issue

Uncaught Error: Dynamic require of "/home/nour/Bureau/appliChat/node_modules/react-chat-engine/node_modules/react-quill/dist/quill.snow.css" is not supported __require chunk-IHTDASF6.js:11

index.js:14 ### My chat code : `import React from 'react' import { useHistory } from 'react-router-dom' import { ChatEngine } from 'react-chat-engine' import { auth } from './firebase' const Chat = () => { return (
) } export default Chat `
DKBoston15 commented 2 years ago

@NourH2000 Are you using NextJS?

alamorre commented 2 years ago

NextJS is now supported. /documented here 👍

https://chatengine.io/docs/tutorials/nextjs_chat_app

alamorre commented 2 years ago

NextJS is now supported. /documented here 👍

https://chatengine.io/docs/tutorials/nextjs_chat_app