[Vuejs]-How do I replace an external javascript array on the Vue js array?

1👍

If you want to receive external data your choices are pretty much limited to either using a prop on a component or you can use an AJAX request with something like Axios for example.

Of course you can set window globals and access them but that is something you really don’t want to be doing.

The context of your problem is missing here therefore I can not judge what would be the best pick here.

Leave a comment