botman / web-widget

MIT License
38 stars 68 forks source link

Customize web widget #9

Closed sketchminds closed 6 years ago

sketchminds commented 6 years ago

Hi Marcel,

Thanks for this great library. I'm still exploring the botman but I have question in using the web widget. For example I want to customize the web widget, how can I do that and apply to my current botman studio project setup?

I just want to try out for myself to create custom templates and custom UI and UX on web widget, for example adding Get Started button and action on the very start of the chat, etc.

Thanks.

mpociot commented 6 years ago

Hi,

Yes, you can customize the web widget. To get started with it, clone the web-widget repository and do a npm install. Once you have all the dependencies for the web widget, you can try it locally by running npm run dev. This will start a dev-server and launch your web browser with the demo.html. To change your widget configuration, simply edit the demo.html file to point to your local BotMan Studio installation. Then you can just modify the code / style of the web widget and try it out.

sketchminds commented 6 years ago

Hi,

Thank you! I'll try this out.

speedygonzales77 commented 5 years ago

Thanks. This is a great article.