@b2chatorg/cra-template-b2chat-widget

1.1.2 • Public • Published

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

/@b2chatorg/cra-template-b2chat-widget/

    Package Sidebar

    Install

    npm i @b2chatorg/cra-template-b2chat-widget

    Weekly Downloads

    1

    Version

    1.1.2

    License

    MIT

    Unpacked Size

    20.4 kB

    Total Files

    18

    Last publish

    Collaborators

    • smithb2chat