[Vuejs]-Updating vue file on changes โ€“ Laravel Echo Pusher Notifications

0๐Ÿ‘

As I understand it, do you want to render multiple notifications each time you receive new notifications data?

In such a case, you can use props.
if you inject props to notification component, the notification component will be re-rendered whenever the props changes

example

<notification :notifications='notifications'><notification>

https://v2.vuejs.org/v2/guide/components-props.html

Leave a comment