Integrate OneHash Chat with Vue.js
To integrate OneHash Chat with a Vue.js application, you need to paste the OneHash Chat widget script in your Vue.js application's index.html file:
You can get the script from Settings > Inboxes > Select your Website channel > Click on the Configuration tab. If you haven't created a website channel yet, you can find the instructions Here
Copy the script that was created in the code field of the channel.
Open your vue project and paste the script in the index.html file, right before the closing </body> tag.
You would be able to see the OneHash Chat widget on the page now.
Updated on: 27/09/2023