mattmezza / vue-beautiful-chat

A simple and beautiful Vue chat component backend agnostic, fully customisable and extendable.
https://matteo.merola.co/vue-beautiful-chat/
MIT License
1.49k stars 438 forks source link

Nuxtjs #241

Closed lonelypx closed 2 years ago

lonelypx commented 3 years ago

Hi is there any example of how to implement vue-beautiful-chat in a nuxtjs project

github-actions[bot] commented 3 years ago

Thanks for opening up your first issue!

MrFroll commented 2 years ago

@lonelypx hi! If you mean how to add vue-beautiful-chat into your project, looks like the common way works for it.

Here is the sample: https://github.com/MrFroll/nuxt-chat-example you can see how it looks like in codesandbox https://codesandbox.io/s/github/MrFroll/nuxt-chat-example

Just add corresponding plugin chat.js, register this plugin in your nuxt.config.js and wrap the component with tags:

<client-only>
...
</client-only>
stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.