use vue-cli to build the project, the project requirement is to have a message push function, the native developer can do a function, when the message is pushed, execute a piece of js code.
it is not clear how to write this code so that the view can be updated instantly. For example, in home.vue, there is a data.message. To receive a message to change this value, and update the view.
do not use socket.