This is full screen chat sample like Slack using the Sendbird SDK for desktop browsers.
You can try out a live demo from the link here.
If you want to legacy basic sample used jQuery, you can find the Legacy tag.
- Install packages
Require that you have Node v8.x+ installed.
node-sass
package requires XCode developer tools (MacOS only) and Node.js version matching. If you have any trouble in the installation, see https://www.npmjs.com/package/node-sass.
npm install
- Run
npm start
If you want to put some changes into the sample, you should build it using webpack
.
- Install packages
Require that you have Node v8.x+ installed.
node-sass
package requires XCode developer tools (MacOS only) and Node.js version matching. If you have any trouble in the installation, see https://www.npmjs.com/package/node-sass.
npm install
- Modify files
If you want to change
APP_ID
, changeAPP_ID
in./src/js/const.js
to the otherAPP_ID
you want.
You can test the sample with local server by running the following command.
npm run start:dev
- Build the sample
When the modification is complete, you'll need to bundle the file using
webpack
. The bundled files are created in thedist
folder.
Please checkwebpack.config.js
for settings.
npm run build
The
npm start
command containsnpm run build
. Check the scripts part of the package.json file.