How do you use environment variables with Framework7?

I’m hoping to leverage some configuration elements to set things like API Base Urls in my new F7/Svelte app.

I’d normally use node process.env.[environment_variable] but this doesn’t seem to provide what I need in the context of an f7 app.

Could someone point me in the direction of any reference material that shows how to add configurable elements to the f7 app?

Thanks in advance.

You need to configure web pack env plugin https://webpack.js.org/plugins/environment-plugin/

Ahh, ok, thank you. New to WebPack :slight_smile:
Thanks again