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?
⛺️ Come to the first ever Statamic non-conference! Tickets for Flat Camp 2023 are now for sale. ⛺️
New: Learn Statamic on Laracasts!
New conversations can be started on GitHub. Existing conversations will remain for a while longer.
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?