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?
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?