Environment variables in Vue methods

I'm writing my own Fieldtype that needs to call an external endpoint to fetch some data. Depending on the environment eg dev/production I want to call a different URL.

What is the correct way to call environment variables from a Vue file?

Answered by Jesse Leite!
>>>>>>> Answered <<<<<<<
6 Replies
5 Followers