cra-template-b2chat-widget
React template for Create React App
Creating a Widget for B2Chat console
You'll need to have Node >= 14 on your local development machine
Usage
Use this template within your project to create a Widget for B2Chat console
Paste this command and change my-widget
with your preferred project name
npx create-react-app my-widget --template @b2chatorg/cra-template-b2chat-widget
and install it.
cd my-widget
npm install
Getting Start
It will open a browsertab on https://app.b2chat.io/agent/chat/?widgetdev=1 with a new right-side panel where you can watch and develop your widget.
npm run start